forked from Upstream/mmocore
(Hopefully) fixed temp blocks
This commit is contained in:
parent
ae3d8897e8
commit
b31bd18dec
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user