mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Seriously, 1.14? Resolves #647
This commit is contained in:
parent
114e11d863
commit
fccb4b7e96
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user