mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-11-29 05:26:18 +01:00
* BUG: Fixed splatter maps removing when in survival mode.
This commit is contained in:
parent
db8d1d9551
commit
7de48ef7ce
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user