fix: crystal count in canHarvest
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Timo Ley 2023-05-25 22:02:14 +02:00
parent 725e524497
commit 3900b28745
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ public abstract class MixinTileCrystal extends TileThaumcraft implements ICrysta
@Override
public boolean canHarvest(EntityPlayer player) {
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;
}
}