mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
(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