mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Started work on Reactor Logic Adapters
This commit is contained in:
1 parent
a87fb35c2c
commit
9b1aa2099b
10 files changed
+257
-16
No files matched your search
@@ -136,6 +136,7 @@ public abstract class TileEntityElectricBlock extends TileEntityContainerBlock i
|
||||
public void handlePacketData(ByteBuf dataStream)
|
||||
{
|
||||
super.handlePacketData(dataStream);
|
||||
|
||||
setEnergy(dataStream.readDouble());
|
||||
}
|
||||
|
||||
@@ -143,7 +144,9 @@ public abstract class TileEntityElectricBlock extends TileEntityContainerBlock i
|
||||
public ArrayList getNetworkedData(ArrayList data)
|
||||
{
|
||||
super.getNetworkedData(data);
|
||||
|
||||
data.add(getEnergy());
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user