If inventory is empty, add clans map
This commit is contained in:
parent
c75f22b5e0
commit
89a4541275
@ -677,6 +677,11 @@ public class ItemMapManager extends MiniPlugin
|
|||||||
|
|
||||||
info.setInfo(1, calcMapCenter(zoom, loc.getBlockX()), calcMapCenter(zoom, loc.getBlockZ()));
|
info.setInfo(1, calcMapCenter(zoom, loc.getBlockX()), calcMapCenter(zoom, loc.getBlockZ()));
|
||||||
_mapInfo.put(player.getName(), info);
|
_mapInfo.put(player.getName(), info);
|
||||||
|
|
||||||
|
if (UtilInv.getItems(player).isEmpty())
|
||||||
|
{
|
||||||
|
setMap(player);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
Loading…
Reference in New Issue
Block a user