mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-18 19:29:29 +00:00
small changes to variable name
This commit is contained in:
1 parent
49652c32e5
commit
f1c08b6f5f
1 file changed
+3
-6
@@ -12,8 +12,6 @@ import net.minecraft.nbt.NBTTagList;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import thaumcraft.common.config.ConfigItems;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class TileEntityEtherealMacerator extends TileEntityEMT implements ISidedInventory, IWrenchable {
|
||||
|
||||
private static final int[] slots_top = new int[]{0};
|
||||
@@ -22,7 +20,6 @@ public class TileEntityEtherealMacerator extends TileEntityEMT implements ISided
|
||||
public int maceratingSpeed = EMTConfigHandler.etherealProcessorBaseSpeed;
|
||||
public int cookTime;
|
||||
private ItemStack[] slots = new ItemStack[3];
|
||||
List<String> allowedOreDictList = EMTConfigHandler.etherealMaceratorWhiteList;
|
||||
|
||||
public int getSizeInventory() {
|
||||
return this.slots.length;
|
||||
@@ -228,9 +225,9 @@ public class TileEntityEtherealMacerator extends TileEntityEMT implements ISided
|
||||
public boolean isAllowed() {
|
||||
|
||||
int[] OreDictIDs = OreDictionary.getOreIDs(this.slots[0]);
|
||||
for (int ID : OreDictIDs) {
|
||||
String tName = OreDictionary.getOreName(ID);
|
||||
for (String allowed : allowedOreDictList) {
|
||||
for (int OreDictID : OreDictIDs) {
|
||||
String tName = OreDictionary.getOreName(OreDictID);
|
||||
for (String allowed : EMTConfigHandler.etherealMaceratorWhiteList) {
|
||||
if (tName.indexOf(allowed) == 0) return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user