Code cleanup
This commit is contained in:
parent
5608bc76e2
commit
e293fd8002
2 changed files with 3 additions and 2 deletions
|
@ -51,7 +51,8 @@ public abstract class TileEntityAbstractEnergy extends TileEntityAbstractInterfa
|
|||
addMethods(new String[] { "energy" });
|
||||
}
|
||||
|
||||
public Object[] getUpgrades()
|
||||
@Deprecated
|
||||
public Object[] getUpgrades_deprecated()
|
||||
{
|
||||
Object[] retVal = new Object[UpgradeType.values().length];
|
||||
for(UpgradeType type : UpgradeType.values())
|
||||
|
|
|
@ -152,7 +152,7 @@ public class TileEntityChunkLoader extends TileEntityAbstractChunkLoading implem
|
|||
shouldLoad = toBool(arguments[0]);
|
||||
return new Object[]{shouldChunkLoad()};
|
||||
case "upgrades":
|
||||
return getUpgrades();
|
||||
return getUpgrades_deprecated();
|
||||
}
|
||||
|
||||
return super.callMethod(computer, context, method, arguments);
|
||||
|
|
Loading…
Add table
Reference in a new issue