Преглед изворни кода

Fix bug in previous dev build that would make mcMMO never drop items...

GJ пре 12 година
родитељ
комит
b0acea3353
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/main/java/com/gmail/nossr50/util/Misc.java

+ 1 - 1
src/main/java/com/gmail/nossr50/util/Misc.java

@@ -344,7 +344,7 @@ public final class Misc {
      */
     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;
         }