Add a config option to disable the death penality durability loss

This commit is contained in:
Bernhard Bonigl committed 2014-10-08 20:12:22 +02:00
1 parent 8c8599c68b
commit 72c180fab4
2 files changed
+5

No files matched your search

@@ -439,6 +439,9 @@ public class TinkerToolEvents
@SubscribeEvent
public void damageToolsOnDeath (PlayerDropsEvent event)
{
if(!PHConstruct.deathPenality)
return;
for(EntityItem drop : event.drops)
{
// we're only interested in tools