The Great Renamening of 2020

This commit is contained in:
Sebastian Hartte
2020-06-22 12:14:54 +02:00
parent abe3334488
commit b4471b1abb
441 changed files with 3395 additions and 3468 deletions
@@ -26,7 +26,7 @@ import net.minecraft.util.JSONUtils;
import net.minecraft.util.ResourceLocation;
import appeng.core.AppEng;
import appeng.items.parts.ItemPart;
import appeng.items.parts.PartItem;
import appeng.items.parts.PartType;
public class PartItemPredicate extends ItemPredicate {
@@ -38,8 +38,8 @@ public class PartItemPredicate extends ItemPredicate {
@Override
public boolean test(ItemStack item) {
if (item.getItem() instanceof ItemPart) {
ItemPart<?> itemPart = (ItemPart<?>) item.getItem();
if (item.getItem() instanceof PartItem) {
PartItem<?> itemPart = (PartItem<?>) item.getItem();
return itemPart.getType() == partType;
}
return false;