1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00
This commit is contained in:
Nameless 2020-03-20 15:12:26 +08:00 committed by GitHub
parent 84dbea4473
commit 847c545d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,7 +233,7 @@ public class BlockListener implements Listener {
if (e.isDropItems()) {
for (ItemStack drop : drops) {
if (drop != null) {
if (drop != null && drop.getType() != Material.AIR) {
e.getBlock().getWorld().dropItemNaturally(e.getBlock().getLocation(), drop);
}
}