Clear status effects when entering limbo
This commit is contained in:
parent
439c13cc9f
commit
8b108688f1
1 changed files with 2 additions and 0 deletions
|
@ -100,6 +100,8 @@ public class EventHookContainer
|
|||
Point4D destination = new Point4D((int) (coords.posX+entity.posX), coords.posY, (int) (coords.posZ+entity.posZ ), mod_pocketDim.properties.LimboDimensionID);
|
||||
DDTeleporter.teleportEntity(player, destination, false);
|
||||
player.setHealth(player.getMaxHealth());
|
||||
player.extinguish();
|
||||
player.clearActivePotions();
|
||||
event.setCanceled(true);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue