Skip to content

Commit

Permalink
Fix worldguard error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven65 committed Jun 29, 2022
1 parent 38048db commit bcad4f1
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion modules/1_10_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_11_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_12_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_13_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_13_R2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_14_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_15_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_16_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_16_R2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_16_R3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_17_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_18_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_18_R2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_19_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_8_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_8_R2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_8_R3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_9_R1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/1_9_R2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion modules/Dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions modules/Plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<parent>
<artifactId>Slabbo-parent</artifactId>
<groupId>xyz.mackan</groupId>
<version>1.0.34</version>
<version>1.0.35</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-plugin</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<packaging>jar</packaging>

<description>Slab shops for spigot</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ public static boolean canCreateShop (Location location, Player player) {
isOwner = true;
}

String createShopsValue = region.getFlag(CREATE_SHOPS).toString();
StateFlag.State createShopsValue = region.getFlag(CREATE_SHOPS);

if (createShopsValue == null) continue;

if (createShopsValue.equalsIgnoreCase("DENY")) {
if (createShopsValue == StateFlag.State.DENY) {
canOthersCreate = false;
}
}
Expand All @@ -96,11 +96,11 @@ public static boolean canUseShop (Location location, Player player) {
isOwner = true;
}

String useShopsValue = region.getFlag(USE_SHOPS).toString();
StateFlag.State useShopsValue = region.getFlag(USE_SHOPS);

if (useShopsValue == null) continue;

if (useShopsValue.equalsIgnoreCase("DENY")) {
if (useShopsValue == StateFlag.State.DENY) {
canOthersUse = false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>xyz.mackan</groupId>
<artifactId>Slabbo-parent</artifactId>
<version>1.0.34</version>
<version>1.0.35</version>
<packaging>pom</packaging>
<name>Slabbo</name>

Expand Down

0 comments on commit bcad4f1

Please sign in to comment.