mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 10:12:06 -07:00
Fixed health on multiworld teleportation
This commit is contained in:
@@ -253,6 +253,7 @@ public class ServerConfigurationManager {
|
|||||||
entityplayer1.inventory = entityplayer.inventory;
|
entityplayer1.inventory = entityplayer.inventory;
|
||||||
entityplayer1.activeContainer = entityplayer.activeContainer;
|
entityplayer1.activeContainer = entityplayer.activeContainer;
|
||||||
entityplayer1.defaultContainer = entityplayer.defaultContainer;
|
entityplayer1.defaultContainer = entityplayer.defaultContainer;
|
||||||
|
entityplayer1.health = entityplayer.health;
|
||||||
}
|
}
|
||||||
|
|
||||||
worldserver.chunkProviderServer.getChunkAt((int) entityplayer1.locX >> 4, (int) entityplayer1.locZ >> 4);
|
worldserver.chunkProviderServer.getChunkAt((int) entityplayer1.locX >> 4, (int) entityplayer1.locZ >> 4);
|
||||||
|
Reference in New Issue
Block a user