mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-02-07 07:11:25 +01:00
Fix player able to take out items from levelling inventory
This commit is contained in:
parent
b6d92c1eb5
commit
dca8cf8a52
@ -185,7 +185,7 @@ public class Levelling implements Listener {
|
|||||||
messageManager.sendMessage(player,
|
messageManager.sendMessage(player,
|
||||||
configLoad.getString("Island.Admin.Levelling.Permission.Message"));
|
configLoad.getString("Island.Admin.Levelling.Permission.Message"));
|
||||||
soundManager.playSound(player, CompatibleSound.BLOCK_ANVIL_LAND.getSound(), 1.0F, 1.0F);
|
soundManager.playSound(player, CompatibleSound.BLOCK_ANVIL_LAND.getSound(), 1.0F, 1.0F);
|
||||||
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user