aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2021-07-03 14:57:49 +0800
committerGlease <4586901+Glease@users.noreply.github.com>2021-07-03 15:18:06 +0800
commit9b5d86f4cdc16e33a594d48744fd21be8f4530ec (patch)
treea42080e3783ecb1b33fb220e482dc1c582f39e4a /src/main/java/gregtech/api/util
parent2a5b42343509d9684affa6be27da32e9eef89851 (diff)
downloadGT5-Unofficial-9b5d86f4cdc16e33a594d48744fd21be8f4530ec.tar.gz
GT5-Unofficial-9b5d86f4cdc16e33a594d48744fd21be8f4530ec.tar.bz2
GT5-Unofficial-9b5d86f4cdc16e33a594d48744fd21be8f4530ec.zip
Remove unnecessary redstone state query for covers
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/util')
-rw-r--r--src/main/java/gregtech/api/util/GT_CoverBehavior.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/util/GT_CoverBehavior.java b/src/main/java/gregtech/api/util/GT_CoverBehavior.java
index ebd3a98d55..14c8cc1308 100644
--- a/src/main/java/gregtech/api/util/GT_CoverBehavior.java
+++ b/src/main/java/gregtech/api/util/GT_CoverBehavior.java
@@ -18,6 +18,10 @@ public abstract class GT_CoverBehavior {
public EntityPlayer lastPlayer = null;
+ public boolean isRedstoneSensitive(byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity, long aTimer) {
+ return true;
+ }
+
/**
* Called by updateEntity inside the covered TileEntity. aCoverVariable is the Value you returned last time.
*/