mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-02-13 10:11:26 +01:00
Fixed an issue that caused invalid level calculation.
This commit is contained in:
parent
6b58aa77a0
commit
b2f570cd5d
@ -251,6 +251,7 @@ public class Block implements Listener {
|
||||
if(configLoad.getBoolean("Island.Restrict.NetherBlocks." + s, false)){
|
||||
plugin.getMessageManager().sendMessage(player, Objects.requireNonNull(plugin.getLanguage().getString("Island.Unlock.NetherBlocksPlace.Message")));
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -264,6 +265,7 @@ public class Block implements Listener {
|
||||
if(configLoad.getBoolean("Island.Restrict.EndBlocks." + s)){
|
||||
plugin.getMessageManager().sendMessage(player, Objects.requireNonNull(plugin.getLanguage().getString("Island.Unlock.EndBlocksPlace.Message")));
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user