mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Remove TNT from BlastMining list onBlockBreak (when not broken by Flint
& Steel)
This commit is contained in:
parent
a1d5eaa846
commit
e997c32c6c
@ -155,10 +155,10 @@ public class mcBlockListener implements Listener
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//TNT removal checks - needed for Blast Mining
|
//TNT removal checks - needed for Blast Mining
|
||||||
// if(block.getTypeId() == 46 && inhand != )
|
if(block.getTypeId() == 46 && inhand.getTypeId() != 259)
|
||||||
// {
|
{
|
||||||
// plugin.misc.tntTracker.remove(block);
|
plugin.misc.tntTracker.remove(block);
|
||||||
// }
|
}
|
||||||
|
|
||||||
//Green Terra
|
//Green Terra
|
||||||
if(PP.getHoePreparationMode() && mcPermissions.getInstance().herbalismAbility(player) && block.getTypeId() == 59 && block.getData() == (byte) 0x07)
|
if(PP.getHoePreparationMode() && mcPermissions.getInstance().herbalismAbility(player) && block.getTypeId() == 59 && block.getData() == (byte) 0x07)
|
||||||
|
Loading…
Reference in New Issue
Block a user