diff options
author | charles <johnch18@isu.edu> | 2021-03-30 20:23:50 -0600 |
---|---|---|
committer | charles <johnch18@isu.edu> | 2021-03-30 20:23:50 -0600 |
commit | 320fc85f4b2856d83f98c8c58bc76853e2cea207 (patch) | |
tree | d5949c10b173baea3c47751f79fd92bb5a79ee48 /src/main/java/gregtech/api | |
parent | e2cbd4887ccdffbc02319f9c5be02f8f11048c39 (diff) | |
download | GT5-Unofficial-320fc85f4b2856d83f98c8c58bc76853e2cea207.tar.gz GT5-Unofficial-320fc85f4b2856d83f98c8c58bc76853e2cea207.tar.bz2 GT5-Unofficial-320fc85f4b2856d83f98c8c58bc76853e2cea207.zip |
Added GUI interface for cover "Safe Mode"
Added tracking of last player to access a cover for future notification purposes.
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r-- | src/main/java/gregtech/api/util/GT_CoverBehavior.java | 3 |
1 files changed, 3 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 c0ad751add..ef332ddb01 100644 --- a/src/main/java/gregtech/api/util/GT_CoverBehavior.java +++ b/src/main/java/gregtech/api/util/GT_CoverBehavior.java @@ -15,6 +15,9 @@ import static gregtech.api.enums.GT_Values.E; * For Covers with a special behavior. */ public abstract class GT_CoverBehavior { + + public EntityPlayer lastPlayer = null; + /** * Called by updateEntity inside the covered TileEntity. aCoverVariable is the Value you returned last time. */ |