mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Protect our hashmaps from bad people.
This commit is contained in:
@ -296,7 +296,7 @@ public class BlastMining {
|
||||
|
||||
/* Create the TNT entity */
|
||||
TNTPrimed tnt = player.getWorld().spawn(block.getLocation(), TNTPrimed.class);
|
||||
plugin.tntTracker.put(tnt.getEntityId(), player);
|
||||
plugin.addToTNTTracker(tnt.getEntityId(), player.getName());
|
||||
tnt.setFuseTicks(0);
|
||||
|
||||
/* Disable the original one */
|
||||
|
Reference in New Issue
Block a user