BrassAmber BattleTowers

BrassAmber BattleTowers

3M Downloads

SERVER DEATH MESSAGE CAUSES PLAYER TO BE IN DEAD STATE - SOFTLOCK (CRASH)

Camawama opened this issue ยท 4 comments

commented

Describe the bug
When a player dies on the server, everything breaks. They cannot break blocks, open their inventory, and they are stuck in a "dead" state.

To Reproduce
Things needed to reproduce the behavior:

  1. Launch an instance of my modpack 'Vanilla Plus by Cama' (you don't have to install any mods yourself).

  2. Datapacks?
    Towers_Of_The_Wild_Reworked_v3.0.0_Waystones.zip

  3. This only happens server-side

  4. Running on Windows

Expected behavior
When the player dies, they should respawn normally.

Logs
https://pastebin.com/WSVdSQQH

Screenshots
image
Have I become a God?

Additional context
Help

commented

This is the modpack: https://www.curseforge.com/minecraft/modpacks/vanilla-plus-by-cama

EDIT: Server is now updated and BattleTowers was removed. In order to test this you'll have to make your own server.

commented

Apologies for my slow response, currently on a business trip.

I believe I know why this is occurring and it is related tot the recent fix I made for another server bug.

Essentially I had for a while a class with an event onPlayerDeath that was not registered with the Forge event system. I registered it with the system when I also added events for world loading/unloading for saving BattleTower locations.

Unfortunately I had not planned ahead for the original onPlayerDeath vent to be run server side, and it contains a call to Minecraft.getInstance() which does not work server side.

I will try to fix this in the next few days and upload a new jar by Friday.

commented

Awesome! Thank you ๐Ÿ˜ƒ

commented

Should be fixed in v2.3.1 on curseforge.