Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion paper/src/main/java/isaac/bastion/Bastion.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import isaac.bastion.storage.Database;
import isaac.bastion.utils.BastionSettingManager;
import java.util.LinkedList;
import java.util.Map;
import java.util.logging.Level;
import org.bukkit.configuration.ConfigurationSection;
import vg.civcraft.mc.civmodcore.ACivMod;
Expand Down Expand Up @@ -156,7 +157,7 @@ private void registerNameLayerPermissions() {
adminAndAbove.add(PlayerType.OWNER);

PermissionType.registerPermission(Permissions.BASTION_PEARL, memberAndAbove, "Allows a player to throw a pearl into a bastion field.");
PermissionType.registerPermission(Permissions.BASTION_PLACE, modAndAbove, "Allows a player to place blocks within a bastion field.", false);
PermissionType.registerPermission(Permissions.BASTION_PLACE, modAndAbove, "Allows a player to place blocks within a bastion field.", Map.ofEntries(Map.entry("BASTION_PLACE", PlayerType.NOT_BLACKLISTED)));
PermissionType.registerPermission(Permissions.BASTION_LIST, modAndAbove, "Allows a player to see all bastions under this group.");
PermissionType.registerPermission(Permissions.BASTION_MANAGE_GROUPS, adminAndAbove, "Allows linking bastion groups.");
PermissionType.registerPermission(Permissions.BASTION_ELYTRA, modAndAbove, "Permits elytra flight through a bastion.");
Expand Down