(Hopefully) fixed temp blocks

This commit is contained in:
Aria Sangarin 2020-04-03 19:12:41 +02:00
parent ae3d8897e8
commit b31bd18dec

View File

@ -77,8 +77,8 @@ public class BlockListener implements Listener {
* remove vanilla drops if needed
*/
if (!info.hasVanillaDrops()) {
event.setDropItems(false); // May not work
// event.setCancelled(true);
//event.setDropItems(false); // May not work
event.setCancelled(true);
event.getBlock().setType(Material.AIR);
}