Prevent GUIs of other mods from opening during replay

This commit is contained in:
johni0702
2016-11-16 18:18:55 +01:00
parent d64ef8b2e1
commit a817c7367a

View File

@@ -291,6 +291,12 @@ public class CameraEntity extends EntityPlayerSP {
return pos; 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 @Override
public void setDead() { public void setDead() {
super.setDead(); super.setDead();