aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
diff options
context:
space:
mode:
authorrepo-alt <wvk17@yandex.ru>2022-01-14 12:22:44 +0300
committerGitHub <noreply@github.com>2022-01-14 10:22:44 +0100
commit119de99ec6386aa413480e5dd6a3e815c9fe06f8 (patch)
treed125e92908b3e1c9fa8155395c61ea3c91ea49f4 /src/main/java/gregtech/api
parenta4ad3baca6504fba551adc4011b6616f583b3086 (diff)
downloadGT5-Unofficial-119de99ec6386aa413480e5dd6a3e815c9fe06f8.tar.gz
GT5-Unofficial-119de99ec6386aa413480e5dd6a3e815c9fe06f8.tar.bz2
GT5-Unofficial-119de99ec6386aa413480e5dd6a3e815c9fe06f8.zip
ME output bus cache refactored (#868)
* Allow toolbox usage for maintenance w/o opening GUI (Also resolves https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9044) * ME output bus cache refactored Now the bus will infinitely cache items until you connect it to ME network (this means that any other (overflow) output buses will never receive anything by default) This behaviour is toggleable by the screwdriver.
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r--src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Maintenance.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Maintenance.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Maintenance.java
index c29cc2c33a..44e3771ab8 100644
--- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Maintenance.java
+++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Maintenance.java
@@ -1,5 +1,6 @@
package gregtech.api.metatileentity.implementations;
+import com.mojang.authlib.GameProfile;
import gregtech.GT_Mod;
import gregtech.api.GregTech_API;
import gregtech.api.enums.ItemList;
@@ -26,6 +27,8 @@ import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.common.util.FakePlayer;
+import net.minecraftforge.common.util.FakePlayer;
+
import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_AUTOMAINTENANCE;
import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_AUTOMAINTENANCE_GLOW;
import static gregtech.api.enums.Textures.BlockIcons.OVERLAY_AUTOMAINTENANCE_IDLE;