mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
commit
2c4c7579ae
@ -67,11 +67,13 @@ public class BlockListener implements Listener {
|
|||||||
SlimefunItem sfItem = BlockStorage.check(block);
|
SlimefunItem sfItem = BlockStorage.check(block);
|
||||||
|
|
||||||
if (sfItem != null) {
|
if (sfItem != null) {
|
||||||
|
/* Temp fix for #2636
|
||||||
for (ItemStack item : sfItem.getDrops()) {
|
for (ItemStack item : sfItem.getDrops()) {
|
||||||
if (item != null && !item.getType().isAir()) {
|
if (item != null && !item.getType().isAir()) {
|
||||||
block.getWorld().dropItemNaturally(block.getLocation(), item);
|
block.getWorld().dropItemNaturally(block.getLocation(), item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
BlockStorage.clearBlockInfo(block);
|
BlockStorage.clearBlockInfo(block);
|
||||||
}
|
}
|
||||||
} else if (BlockStorage.hasBlockInfo(e.getBlock())) {
|
} else if (BlockStorage.hasBlockInfo(e.getBlock())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user