generated from tilera/1710mod
fix: crystal count in canHarvest
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
725e524497
commit
3900b28745
|
@ -122,7 +122,7 @@ public abstract class MixinTileCrystal extends TileThaumcraft implements ICrysta
|
||||||
@Override
|
@Override
|
||||||
public boolean canHarvest(EntityPlayer player) {
|
public boolean canHarvest(EntityPlayer player) {
|
||||||
int md = this.worldObj.getBlockMetadata(this.xCoord, this.yCoord, this.zCoord);
|
int md = this.worldObj.getBlockMetadata(this.xCoord, this.yCoord, this.zCoord);
|
||||||
return md != 6 && md != 9 && count > 1;
|
return md != 6 && md != 9 && crystals > 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue