mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-02-25 15:11:23 +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
|
* remove vanilla drops if needed
|
||||||
*/
|
*/
|
||||||
if (!info.hasVanillaDrops()) {
|
if (!info.hasVanillaDrops()) {
|
||||||
event.setDropItems(false); // May not work
|
//event.setDropItems(false); // May not work
|
||||||
// event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
event.getBlock().setType(Material.AIR);
|
event.getBlock().setType(Material.AIR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user