summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/onplayerbreakingblock.lua
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer/Plugins/Core/onplayerbreakingblock.lua')
-rw-r--r--MCServer/Plugins/Core/onplayerbreakingblock.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/MCServer/Plugins/Core/onplayerbreakingblock.lua b/MCServer/Plugins/Core/onplayerbreakingblock.lua
deleted file mode 100644
index fc7d5897d..000000000
--- a/MCServer/Plugins/Core/onplayerbreakingblock.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-function OnPlayerBreakingBlock(Player, BlockX, BlockY, BlockZ, BlockFace, Status, OldBlockType, OldBlockMeta)
- -- dont check if the direction is in the air
- if (BlockFace ~= -1) then
-
- if (Player:HasPermission("core.build") == false) then
- return true
- end
- end
- return false
-end \ No newline at end of file