mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
Move the old smelterylogic implementation to backup classes for a compatibility config. Change most logic to take actual smeltery size into account.
This commit is contained in:
1 parent
c0ad340460
commit
9818edc0a8
11 files changed
+2218
-509
No files matched your search
@@ -117,6 +117,8 @@ public class SmelteryProxyClient extends SmelteryProxyCommon
|
||||
{
|
||||
if (PHConstruct.newSmeltery)
|
||||
return new AdaptiveSmelteryGui(player.inventory, (AdaptiveSmelteryLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
||||
else if(PHConstruct.oldSmeltery)
|
||||
return new SmelteryGuiOld(player.inventory, (SmelteryLogicOld) world.getTileEntity(x, y, z), world, x, y, z);
|
||||
else
|
||||
return new SmelteryGui(player.inventory, (SmelteryLogic) world.getTileEntity(x, y, z), world, x, y, z);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user