Skip to content

Commit 60fd784

Browse files
committed
Fixed permissions
1 parent a7f7d11 commit 60fd784

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
main: com.enteente.plotborder.Main
22
name: plotborder
3-
version: 0.3
3+
version: 0.3.1
44
author: schubc
55
description: Change borders of plotsquared plots
66
commands:

src/com/enteente/plotborder/utils/PlotUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public static boolean UpdatePlot(Player player, String component, String value)
4141

4242
if(!be.checkPermissions(player)) {
4343
player.sendMessage("Nicht genug rechte für "+be.getName());
44+
return false;
4445
}
4546

4647
String mat=be.getMaterial();

0 commit comments

Comments
 (0)