Slime Origin

Slime Origin

521k Downloads

Server crashes after death

uzervlad opened this issue ยท 15 comments

commented

Screenshot of the error:
Screenshot_20210413-231425.jpg

I'm running a server with latest fabric release and these mods
Screenshot_20210413-231524~2.jpg

commented

After some searching, I found out that this is a problem with Pehkui 2.0.0

Not closing the issue yet, as either a version check should be implemented, or a note on CurseForge should be made.

commented

Huh
I tried to run the mod with older versions of Pekhui, but I literally couldn't open my game (It crashed)

Anyone know why?
I had Fabric API, Patchouli, and several origins mods

commented

I've had the same problem. Every time I die It crashes the server I'm on. I even switched pekhui versions and I was smaller but then died and it crashed. (I switched to the latest) I'm playing 1.16.5 so I used that one then used The 1.14.4-1.17. Version and I shrunk but it still crashed when I died I can't find any fixes

commented

After some searching, I found out that this is a problem with Pehkui 2.0.0

Not closing the issue yet, as either a version check should be implemented, or a note on CurseForge should be made.

So is there a specific version needed to make it work (that isn't 2.00) or is there another fix?

commented

@Rustwolfz I used this with Pehkui 1.10.0 and everything worked fine

commented

@AadityaY please, send your crash reports, that would help find the issue

commented

I think this has to do with the new version of pehkui kicking and crashing u when u get to 0 width 0 height

commented

I think preventing it from being zero (changing min and fall back on slime ClampedEntityAttribute of slime size) should do it

commented

@Rustwolfz I used this with Pehkui 1.10.0 and everything worked fine

This would work however, Extra Origins, another addon I'm using, requires Pehkui 2.0.0. Is there a work around to this that you know of?

commented

Here, for those of you with this issue, I patched it myself super fast to make it work, it was only a tiny bit of code I needed to change, and might make a pull request shortly with my code changes if the dev wants to pick them up
EDIT: Fixing link, I messed up, one second...
EDIT 2: Fixed link, here you all go: https://drive.google.com/file/d/1tFouUCXfMmx-1y_d7gvOaZitbi_Yb5sj/view?usp=sharing

commented

@MrLightningBlaze how can i install it onto a server??? aternos btw

commented

@CritzenMC Its the exact same process as the original mod, I mearly updated some code in it to fix the crashing issue
Also a note that im not the dev of this mod, mearly someone who used it and wanted to fix it a bit when i had the crashing issue

commented

@MrLightningBlaze could you add your changes as a pull request to the repo so that it might be able to be merged?

#10 incorporates your fixes as a PR - hopefully, it'll get merged soon!

commented

@MrLightningBlaze could you add your changes as a pull request to the repo so that it might be able to be merged?

commented

Thank you so much @MrLightningBlaze and @pengolod this has been fixed in v3.0.0