revert shop to names, next up mysql

This commit is contained in:
ZeroEpoch1969
2020-04-29 16:29:43 -07:00
parent a2a4a8a0b8
commit abbadb55ee
20 changed files with 169 additions and 172 deletions

View File

@ -189,17 +189,7 @@ public class ItemFun extends FreedomService
case CARROT:
{
if (!ConfigEntry.ALLOW_EXPLOSIONS.getBoolean())
{
break;
}
if (!plugin.al.isSeniorAdmin(player))
{
break;
}
if (player.getWorld().equals(plugin.wm.masterBuilderWorld.getWorld()) && plugin.mbwr.doRestrict(player))
if (!ConfigEntry.ALLOW_EXPLOSIONS.getBoolean() || !plugin.al.isSeniorAdmin(player) || plugin.wr.doRestrict(player))
{
break;
}