summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemMap.h
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-02-23 14:03:40 +0100
committerandrew <xdotftw@gmail.com>2014-02-23 14:05:03 +0100
commitf47187394572027cbfa07884cba2f54eaa6972ec (patch)
tree1f87d8d3f350b1d0c3faf5963c2ad74482ac3174 /src/Items/ItemMap.h
parentManually exported DoWithMap (diff)
downloadcuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.gz
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.bz2
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.lz
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.xz
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.tar.zst
cuberite-f47187394572027cbfa07884cba2f54eaa6972ec.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemMap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemMap.h b/src/Items/ItemMap.h
index 9bb16b189..e8ff9da88 100644
--- a/src/Items/ItemMap.h
+++ b/src/Items/ItemMap.h
@@ -29,7 +29,7 @@ public:
virtual void OnUpdate(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item)
{
- cMap * Map = a_World->GetMapData(a_Item.m_ItemDamage);
+ cMap * Map = a_World->GetMapManager().GetMapData(a_Item.m_ItemDamage);
if (Map == NULL)
{