mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Fix bug in previous dev build that would make mcMMO never drop items...
This commit is contained in:
parent
862f5d73e1
commit
b0acea3353
@ -344,7 +344,7 @@ public final class Misc {
|
|||||||
*/
|
*/
|
||||||
public static void dropItem(Location location, ItemStack itemStack) {
|
public static void dropItem(Location location, ItemStack itemStack) {
|
||||||
|
|
||||||
if (itemStack.getType() != null || itemStack.getType() == Material.AIR) {
|
if (itemStack.getType() == null || itemStack.getType() == Material.AIR) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user