mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Refactored a bunch of death code into the event factory
This commit is contained in:
1 parent
751ab82be0
commit
20ddc944bb
9 files changed
+70
-71
No files matched your search
@@ -252,6 +252,10 @@ public class ServerConfigurationManager {
|
||||
entityplayer.fireTicks = 0;
|
||||
entityplayer.fallDistance = 0;
|
||||
entityplayer.foodData = new FoodMetaData();
|
||||
entityplayer.expTotal = 0;
|
||||
entityplayer.exp = 0;
|
||||
entityplayer.expLevel = 0;
|
||||
entityplayer.d(entityplayer.newExp);
|
||||
} else {
|
||||
location.setWorld(this.server.getWorldServer(i).getWorld());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user