diff options
author | Howaner <franzi.moos@googlemail.com> | 2015-03-10 19:40:53 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2015-03-10 19:40:53 +0100 |
commit | 685f6e37138dc63391bfa587f6631fa303dcbe6b (patch) | |
tree | 3e0e7313c88c27d5f4a8d48f8959f3cc04b94486 /src/BlockEntities | |
parent | Merge branch 'master' into Inventory (diff) | |
download | cuberite-685f6e37138dc63391bfa587f6631fa303dcbe6b.tar cuberite-685f6e37138dc63391bfa587f6631fa303dcbe6b.tar.gz cuberite-685f6e37138dc63391bfa587f6631fa303dcbe6b.tar.bz2 cuberite-685f6e37138dc63391bfa587f6631fa303dcbe6b.tar.lz cuberite-685f6e37138dc63391bfa587f6631fa303dcbe6b.tar.xz cuberite-685f6e37138dc63391bfa587f6631fa303dcbe6b.tar.zst cuberite-685f6e37138dc63391bfa587f6631fa303dcbe6b.zip |
Diffstat (limited to 'src/BlockEntities')
-rw-r--r-- | src/BlockEntities/BeaconEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/BeaconEntity.cpp b/src/BlockEntities/BeaconEntity.cpp index 7038a98c7..fb3940ce9 100644 --- a/src/BlockEntities/BeaconEntity.cpp +++ b/src/BlockEntities/BeaconEntity.cpp @@ -290,7 +290,7 @@ void cBeaconEntity::UsedBy(cPlayer * a_Player) OpenWindow(new cBeaconWindow(m_PosX, m_PosY, m_PosZ, this)); Window = GetWindow(); } - + if (Window != nullptr) { // if (a_Player->GetWindow() != Window) |