mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Fixed food data not persisting appropriately.
This commit is contained in:
1 parent
e85c99289c
commit
f8d36cd09c
2 files changed
+1
-1
No files matched your search
@@ -251,6 +251,7 @@ public class ServerConfigurationManager {
|
||||
entityplayer.health = 20;
|
||||
entityplayer.fireTicks = 0;
|
||||
entityplayer.fallDistance = 0;
|
||||
entityplayer.foodData = new FoodMetaData();
|
||||
} else {
|
||||
location.setWorld(this.server.getWorldServer(i).getWorld());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user