mirror of
https://github.com/darksaid98/Builders-Utilities.git
synced 2026-12-03 14:38:48 +00:00
Minor changes
Additionally, an unused import was removed and in the README, outdated links were updated and a grammatical error was fixed. Fixes #56 Set false default permissions to op default (#59) Fixes #58 Check correct iron trapdoor permission in utilities menu (#62) Fixes #60
This commit is contained in:
1 parent
2c0be737f9
commit
b592f96afd
4 files changed
+7
-9
No files matched your search
@@ -19,7 +19,7 @@ This plugin is a collection of a lot of tiny features that help with building.
|
|||||||
* [Download](https://www.spigotmc.org/resources/builders-utilities.42361/)
|
* [Download](https://www.spigotmc.org/resources/builders-utilities.42361/)
|
||||||
* [Development Builds](https://ci.athion.net/job/Builders-Utilities/)
|
* [Development Builds](https://ci.athion.net/job/Builders-Utilities/)
|
||||||
* [Discord](https://discord.gg/jpRVrjd)
|
* [Discord](https://discord.gg/jpRVrjd)
|
||||||
* [Issues](https://github.com/Brennian/Builders-Utilities/issues)
|
* [Issues](https://github.com/Arcaniax-Development/Builders-Utilities/issues)
|
||||||
|
|
||||||
# Building
|
# Building
|
||||||
Gradle is the recommended way to build the project. Use `./gradlew build` in the main project directory to build the project.
|
Gradle is the recommended way to build the project. Use `./gradlew build` in the main project directory to build the project.
|
||||||
@@ -28,4 +28,4 @@ Gradle is the recommended way to build the project. Use `./gradlew build` in the
|
|||||||
See [here](https://github.com/Brennian/Builders-Utilities/blob/master/CONTRIBUTING.md)
|
See [here](https://github.com/Brennian/Builders-Utilities/blob/master/CONTRIBUTING.md)
|
||||||
|
|
||||||
## Suggestions
|
## Suggestions
|
||||||
Suggestions are welcome! We have a separate issue form for suggestions, that can be found [here](https://github.com/Brennian/Builders-Utilities/issues).
|
Suggestions are welcome! We have a separate issue form for suggestions, which can be found [here](https://github.com/Arcaniax-Development/Builders-Utilities/issues).
|
||||||
@@ -33,8 +33,6 @@ import org.bukkit.Material;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
import java.util.Arrays;
|
|
||||||
|
|
||||||
public class SecretBlockMenuProvider implements InventoryProvider {
|
public class SecretBlockMenuProvider implements InventoryProvider {
|
||||||
|
|
||||||
private static final ItemStack SPAWNER = Items.create(Material.SPAWNER, ChatColor.BLUE + "Spawner", "");
|
private static final ItemStack SPAWNER = Items.create(Material.SPAWNER, ChatColor.BLUE + "Spawner", "");
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ public class UtilitiesMenuProvider implements InventoryProvider {
|
|||||||
|
|
||||||
private static final String IRON_TRAPDOOR_LORE = "__&c__&8&oActs like wooden trapdoors";
|
private static final String IRON_TRAPDOOR_LORE = "__&c__&8&oActs like wooden trapdoors";
|
||||||
private static final String SLAB_BREAKING_LORE = "__&c__&8&oHold any slab to break double slab blocks";
|
private static final String SLAB_BREAKING_LORE = "__&c__&8&oHold any slab to break double slab blocks";
|
||||||
private static final String GLAZED_ROTATING_LORE = "__&c__&8&oShift right click with emtpy hand";
|
private static final String GLAZED_ROTATING_LORE = "__&c__&8&oShift right click with empty hand";
|
||||||
|
|
||||||
private static final String NIGHT_VISION_LORE = "__&c__&8&oSee in the dark";
|
private static final String NIGHT_VISION_LORE = "__&c__&8&oSee in the dark";
|
||||||
private static final String NO_CLIP_LORE = "__&c__&8&oFly through blocks with ease";
|
private static final String NO_CLIP_LORE = "__&c__&8&oFly through blocks with ease";
|
||||||
@@ -68,7 +68,7 @@ public class UtilitiesMenuProvider implements InventoryProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void setIronTrapdoorItem(Player player, InventoryContents contents) {
|
private void setIronTrapdoorItem(Player player, InventoryContents contents) {
|
||||||
if (!player.hasPermission("builders.util.irontrapdoor")) {
|
if (!player.hasPermission("builders.util.trapdoor")) {
|
||||||
setNoPermission(1, contents);
|
setNoPermission(1, contents);
|
||||||
contents.set(1, 1, ClickableItem.empty(
|
contents.set(1, 1, ClickableItem.empty(
|
||||||
Items.create(Material.IRON_TRAPDOOR, "&6Iron Trapdoor Interaction", "&7&lNo Permission")));
|
Items.create(Material.IRON_TRAPDOOR, "&6Iron Trapdoor Interaction", "&7&lNo Permission")));
|
||||||
|
|||||||
@@ -71,8 +71,8 @@ permissions:
|
|||||||
builders.util.terracotta:
|
builders.util.terracotta:
|
||||||
default: true
|
default: true
|
||||||
builders.util.nightvision:
|
builders.util.nightvision:
|
||||||
default: false
|
default: op
|
||||||
builders.util.noclip:
|
builders.util.noclip:
|
||||||
default: false
|
default: op
|
||||||
builders.util.advancedfly:
|
builders.util.advancedfly:
|
||||||
default: false
|
default: op
|
||||||
Reference in new issue
Block a user