Skip to content

Commit

Permalink
Revert "make quantum tanks not slow you down for later game players (#…
Browse files Browse the repository at this point in the history
…2392)"

This reverts commit 0e7eddd.
  • Loading branch information
Dream-Master committed Dec 5, 2023
1 parent 0e7eddd commit 93a498b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/gregtech/common/blocks/GT_Item_Machines.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
import gregtech.api.util.GT_LanguageManager;
import gregtech.api.util.GT_Utility;
import gregtech.common.tileentities.storage.GT_MetaTileEntity_DigitalTankBase;
import gregtech.common.tileentities.storage.GT_MetaTileEntity_SuperChest;
import gregtech.common.tileentities.storage.GT_MetaTileEntity_SuperTank;
import gregtech.common.tileentities.storage.GT_MetaTileEntity_QuantumChest;

public class GT_Item_Machines extends ItemBlock implements IFluidContainerItem {

Expand Down Expand Up @@ -332,8 +331,8 @@ public void onUpdate(ItemStack aStack, World aWorld, Entity aPlayer, int aTimer,
super.onUpdate(aStack, aWorld, aPlayer, aTimer, aIsInHand);
final short tDamage = (short) getDamage(aStack);
final EntityLivingBase tPlayer = (EntityPlayer) aPlayer;
if (GregTech_API.METATILEENTITIES[tDamage] instanceof GT_MetaTileEntity_SuperChest
|| GregTech_API.METATILEENTITIES[tDamage] instanceof GT_MetaTileEntity_SuperTank) {
if (GregTech_API.METATILEENTITIES[tDamage] instanceof GT_MetaTileEntity_QuantumChest
|| GregTech_API.METATILEENTITIES[tDamage] instanceof GT_MetaTileEntity_DigitalTankBase) {
final NBTTagCompound tNBT = aStack.stackTagCompound;
if (tNBT == null) return;
if (tNBT.hasNoTags()) {
Expand Down

0 comments on commit 93a498b

Please sign in to comment.