mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +01:00
Removed useless removal checks.
This commit is contained in:
parent
1cd7181d26
commit
b98120192a
@ -128,7 +128,6 @@ public class WoodCutting
|
|||||||
//Remove the block
|
//Remove the block
|
||||||
x.setData((byte) 0);
|
x.setData((byte) 0);
|
||||||
x.setType(Material.AIR);
|
x.setType(Material.AIR);
|
||||||
plugin.misc.blockWatchList.remove(x);
|
|
||||||
|
|
||||||
//Drop the block
|
//Drop the block
|
||||||
m.mcDropItem(x.getLocation(), item);
|
m.mcDropItem(x.getLocation(), item);
|
||||||
@ -148,7 +147,6 @@ public class WoodCutting
|
|||||||
//Remove the block
|
//Remove the block
|
||||||
x.setData((byte) 0);
|
x.setData((byte) 0);
|
||||||
x.setType(Material.AIR);
|
x.setType(Material.AIR);
|
||||||
plugin.misc.blockWatchList.remove(x);
|
|
||||||
|
|
||||||
//Damage the tool more if the Tree is larger
|
//Damage the tool more if the Tree is larger
|
||||||
durabilityLoss++;
|
durabilityLoss++;
|
||||||
|
Loading…
Reference in New Issue
Block a user