mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-02-21 21:42:28 +00:00
fix fluid valves not deactivating (was clearing power net rather than fluid net connections)
This commit is contained in:
parent
d6c15c8ff2
commit
6db42e6d4b
@ -1,6 +1,7 @@
|
||||
package com.hbm.tileentity.network;
|
||||
|
||||
import api.hbm.energymk2.Nodespace;
|
||||
import com.hbm.uninos.UniNodespace;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
@ -16,7 +17,7 @@ public class TileEntityFluidValve extends TileEntityPipeBaseNT {
|
||||
this.blockMetadata = -1; // delete cache
|
||||
|
||||
if(this.getBlockMetadata() == 0 && this.node != null) {
|
||||
Nodespace.destroyNode(worldObj, xCoord, yCoord, zCoord);
|
||||
UniNodespace.destroyNode(worldObj, xCoord, yCoord, zCoord, this.getType().getNetworkProvider());
|
||||
this.node = null;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user