mirror of
https://github.com/TicTicBoooom-Mods/MasterfulMachinery.git
synced 2026-01-18 16:37:23 +01:00
pushes
This commit is contained in:
@@ -109,6 +109,10 @@ public class MachinePortBlock extends Block implements BlockStarlightRecipient {
|
||||
TileEntity tile = world.getTileEntity(blockPos);
|
||||
if (tile instanceof MachinePortBlockEntity){
|
||||
PortStorage storage = ((MachinePortBlockEntity) tile).getStorage();
|
||||
if (!((MachinePortBlockEntity) tile).isInput()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (storage instanceof StarlightPortStorage) {
|
||||
StarlightPortStorage starlightStorage = (StarlightPortStorage) storage;
|
||||
int rec = new Double(v).intValue();
|
||||
|
||||
Reference in New Issue
Block a user