mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 19:46:21 +01:00
Fixed health on multiworld teleportation
This commit is contained in:
parent
864f8d2f0d
commit
147e3d684d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user