mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
Work on fusion fuel creation mechanics, allowed Chemical Washer to accept upgrades
This commit is contained in:
1 parent
cb2e38ec61
commit
25df777b84
40 files changed
+210
-98
No files matched your search
@@ -142,6 +142,11 @@ public class TileComponentUpgrade implements ITileComponent
|
||||
{
|
||||
return supported;
|
||||
}
|
||||
|
||||
public void clearSupportedTypes()
|
||||
{
|
||||
supported.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void read(ByteBuf dataStream)
|
||||
@@ -181,6 +186,7 @@ public class TileComponentUpgrade implements ITileComponent
|
||||
public void read(NBTTagCompound nbtTags)
|
||||
{
|
||||
upgrades = Upgrade.buildMap(nbtTags);
|
||||
|
||||
for(Upgrade upgrade : getSupportedTypes())
|
||||
{
|
||||
tileEntity.recalculateUpgradables(upgrade);
|
||||
|
||||
Reference in new issue
Block a user