diff --git a/paper-server/patches/features/0035-Add-the-ability-to-use-GamemasterBlocks-via-a-Bukkit.patch b/paper-server/patches/features/0035-Add-the-ability-to-use-GamemasterBlocks-via-a-Bukkit.patch new file mode 100644 index 000000000000..de621ca5cfd8 --- /dev/null +++ b/paper-server/patches/features/0035-Add-the-ability-to-use-GamemasterBlocks-via-a-Bukkit.patch @@ -0,0 +1,20 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Valeriy Konstantinov +Date: Fri, 28 Aug 2026 13:09:54 -0700 +Subject: [PATCH] Add the ability to use GamemasterBlocks via a Bukkit + permission + + +diff --git a/net/minecraft/world/entity/player/Player.java b/net/minecraft/world/entity/player/Player.java +index 2a71a2fa949b3a7fb8ff2c44ec3a3d8636237142..4474d32eebdd839a2a56cbb759f1bc7853915c2b 100644 +--- a/net/minecraft/world/entity/player/Player.java ++++ b/net/minecraft/world/entity/player/Player.java +@@ -2028,7 +2028,7 @@ public abstract class Player extends Avatar implements ContainerUser { + } + + public boolean canUseGameMasterBlocks() { +- return this.abilities.instabuild && this.permissions().hasPermission(Permissions.COMMANDS_GAMEMASTER); ++ return this.abilities.instabuild && (this.permissions().hasPermission(Permissions.COMMANDS_GAMEMASTER) || getBukkitEntity().hasPermission("minecraft.admin")); // Paper - Add the ability to use GamemasterBlocks via a Bukkit permission + } + + public PermissionSet permissions() {