fixed teleporter bug with dragon egg and nitrogen plasma (#1536)
This commit is contained in:
parent
18907fdbab
commit
7b592a645c
1 changed files with 4 additions and 1 deletions
|
@ -234,7 +234,10 @@ public class GT_MetaTileEntity_Teleporter extends GT_MetaTileEntity_BasicTank {
|
|||
}
|
||||
|
||||
public boolean hasDimensionalTeleportCapability() {
|
||||
return (this.mDebug) || (this.hasEgg) || (mFluid != null && mFluid.isFluidEqual(Materials.Nitrogen.getPlasma(1)) && mFluid.amount >= 10);
|
||||
if (sInterDimensionalTeleportAllowed == true) {
|
||||
return (this.mDebug) || (this.hasEgg) || (mFluid != null && mFluid.isFluidEqual(Materials.Nitrogen.getPlasma(1)) && mFluid.amount >= 10);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean isDimensionalTeleportAvailable() {
|
||||
|
|
Loading…
Reference in a new issue