summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-05-29 21:33:30 +0200
committerLukas Pioch <lukas@zgow.de>2017-06-05 15:14:23 +0200
commit7922e6addb06de89cc73c64d30321aa6710e30ce (patch)
tree8b35b17e08f41bf535ec25844bc7648697b083ec /src/BlockEntities
parentAvoid pickups to sink into blocks and disappear (#3739) (diff)
downloadcuberite-7922e6addb06de89cc73c64d30321aa6710e30ce.tar
cuberite-7922e6addb06de89cc73c64d30321aa6710e30ce.tar.gz
cuberite-7922e6addb06de89cc73c64d30321aa6710e30ce.tar.bz2
cuberite-7922e6addb06de89cc73c64d30321aa6710e30ce.tar.lz
cuberite-7922e6addb06de89cc73c64d30321aa6710e30ce.tar.xz
cuberite-7922e6addb06de89cc73c64d30321aa6710e30ce.tar.zst
cuberite-7922e6addb06de89cc73c64d30321aa6710e30ce.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BeaconEntity.cpp2
-rw-r--r--src/BlockEntities/BrewingstandEntity.cpp2
-rw-r--r--src/BlockEntities/ChestEntity.cpp2
-rw-r--r--src/BlockEntities/DropSpenserEntity.cpp2
-rw-r--r--src/BlockEntities/EnderChestEntity.cpp2
-rw-r--r--src/BlockEntities/FurnaceEntity.cpp2
-rw-r--r--src/BlockEntities/HopperEntity.cpp2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/BlockEntities/BeaconEntity.cpp b/src/BlockEntities/BeaconEntity.cpp
index c158db53b..f7728600a 100644
--- a/src/BlockEntities/BeaconEntity.cpp
+++ b/src/BlockEntities/BeaconEntity.cpp
@@ -297,7 +297,7 @@ bool cBeaconEntity::UsedBy(cPlayer * a_Player)
// if (a_Player->GetWindow() != Window)
// -> Because mojang doesn't send a 'close window' packet when you click the cancel button in the beacon inventory ...
{
- a_Player->OpenWindow(Window);
+ a_Player->OpenWindow(*Window);
}
}
return true;
diff --git a/src/BlockEntities/BrewingstandEntity.cpp b/src/BlockEntities/BrewingstandEntity.cpp
index 27926c8df..464d175c9 100644
--- a/src/BlockEntities/BrewingstandEntity.cpp
+++ b/src/BlockEntities/BrewingstandEntity.cpp
@@ -65,7 +65,7 @@ bool cBrewingstandEntity::UsedBy(cPlayer * a_Player)
{
if (a_Player->GetWindow() != Window)
{
- a_Player->OpenWindow(Window);
+ a_Player->OpenWindow(*Window);
}
}
diff --git a/src/BlockEntities/ChestEntity.cpp b/src/BlockEntities/ChestEntity.cpp
index a47593108..9aeb50d5b 100644
--- a/src/BlockEntities/ChestEntity.cpp
+++ b/src/BlockEntities/ChestEntity.cpp
@@ -101,7 +101,7 @@ bool cChestEntity::UsedBy(cPlayer * a_Player)
{
if (a_Player->GetWindow() != Window)
{
- a_Player->OpenWindow(Window);
+ a_Player->OpenWindow(*Window);
}
}
diff --git a/src/BlockEntities/DropSpenserEntity.cpp b/src/BlockEntities/DropSpenserEntity.cpp
index a7cea4256..e2e40148b 100644
--- a/src/BlockEntities/DropSpenserEntity.cpp
+++ b/src/BlockEntities/DropSpenserEntity.cpp
@@ -153,7 +153,7 @@ bool cDropSpenserEntity::UsedBy(cPlayer * a_Player)
{
if (a_Player->GetWindow() != Window)
{
- a_Player->OpenWindow(Window);
+ a_Player->OpenWindow(*Window);
}
}
return true;
diff --git a/src/BlockEntities/EnderChestEntity.cpp b/src/BlockEntities/EnderChestEntity.cpp
index 86c8ec463..d6ee9e016 100644
--- a/src/BlockEntities/EnderChestEntity.cpp
+++ b/src/BlockEntities/EnderChestEntity.cpp
@@ -66,7 +66,7 @@ bool cEnderChestEntity::UsedBy(cPlayer * a_Player)
{
if (a_Player->GetWindow() != Window)
{
- a_Player->OpenWindow(Window);
+ a_Player->OpenWindow(*Window);
}
}
return true;
diff --git a/src/BlockEntities/FurnaceEntity.cpp b/src/BlockEntities/FurnaceEntity.cpp
index b2ac093c0..bdbecfb79 100644
--- a/src/BlockEntities/FurnaceEntity.cpp
+++ b/src/BlockEntities/FurnaceEntity.cpp
@@ -69,7 +69,7 @@ bool cFurnaceEntity::UsedBy(cPlayer * a_Player)
{
if (a_Player->GetWindow() != Window)
{
- a_Player->OpenWindow(Window);
+ a_Player->OpenWindow(*Window);
}
}
diff --git a/src/BlockEntities/HopperEntity.cpp b/src/BlockEntities/HopperEntity.cpp
index fbe073ada..c6cab90cd 100644
--- a/src/BlockEntities/HopperEntity.cpp
+++ b/src/BlockEntities/HopperEntity.cpp
@@ -95,7 +95,7 @@ bool cHopperEntity::UsedBy(cPlayer * a_Player)
{
if (a_Player->GetWindow() != Window)
{
- a_Player->OpenWindow(Window);
+ a_Player->OpenWindow(*Window);
}
}