mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Add a config option to disable the death penality durability loss
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user