Seriously, 1.14? Resolves #647

This commit is contained in:
Daniel Saukel 2019-11-28 16:58:01 +01:00
parent 114e11d863
commit fccb4b7e96

View File

@ -838,6 +838,7 @@ public class DGamePlayer extends DInstancePlayer {
if (game.getRules().getKeepInventoryOnDeath()) { if (game.getRules().getKeepInventoryOnDeath()) {
event.setKeepInventory(true); event.setKeepInventory(true);
event.getDrops().clear();
event.setKeepLevel(true); event.setKeepLevel(true);
event.setDroppedExp(0); event.setDroppedExp(0);
} }