Update ModuleBlockBreak.java

Fix a bug with PaperMC, if we destroy with hopper, he dont drop item.
This commit is contained in:
Bierque Jason 2020-09-04 03:23:16 +02:00 committed by Brianna
parent 5347d28cf0
commit 1605df3cae

View File

@ -109,7 +109,7 @@ public class ModuleBlockBreak extends Module {
waterlogged = true;
}
above.breakNaturally();
above.breakNaturally(new ItemStack(Material.DIAMOND_PICKAXE));
if (waterlogged)
above.setType(Material.WATER);