Prevent GUIs of other mods from opening during replay
This commit is contained in:
@@ -291,6 +291,12 @@ public class CameraEntity extends EntityPlayerSP {
|
||||
return pos;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void openGui(Object mod, int modGuiId, World world, int x, int y, int z) {
|
||||
// Do not open any block GUIs for the camera entities
|
||||
// Note: Vanilla GUIs are filtered out on a packet level, this only applies to mod GUIs
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDead() {
|
||||
super.setDead();
|
||||
|
||||
Reference in New Issue
Block a user