* BUG: Fixed splatter maps removing when in survival mode.

This commit is contained in:
Adrien Prokopowicz 2016-07-07 23:17:49 +02:00
parent db8d1d9551
commit 7de48ef7ce

View File

@ -249,11 +249,10 @@ public class MapItemManager implements Listener
if(poster != null)
{
event.setCancelled(true);
if(player.getGameMode() == GameMode.CREATIVE)
{
if(!SplatterMapManager.hasSplatterMap(player, poster))
if(player.getGameMode() != GameMode.CREATIVE || !SplatterMapManager.hasSplatterMap(player, poster))
poster.give(player);
}
return;
}
}