If inventory is empty, add clans map

This commit is contained in:
libraryaddict 2015-07-04 04:09:18 +12:00
parent c75f22b5e0
commit 89a4541275

View File

@ -677,6 +677,11 @@ public class ItemMapManager extends MiniPlugin
info.setInfo(1, calcMapCenter(zoom, loc.getBlockX()), calcMapCenter(zoom, loc.getBlockZ()));
_mapInfo.put(player.getName(), info);
if (UtilInv.getItems(player).isEmpty())
{
setMap(player);
}
}
@EventHandler