Skip to content

Commit 774db5b

Browse files
committed
Fix GriefPrevention
1 parent 7235c30 commit 774db5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/plugin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: SkUniversal
2-
version: '2.12.5'
2+
version: '2.13'
33
author: Donut
44
main: us.donut.skuniversal.SkUniversal
55
api-version: 1.13

src/us/donut/skuniversal/griefprevention/expressions/ExprClaimsOfPlayer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected Number[] get(Event e) {
6363
if (player.getSingle(e) == null) return null;
6464
return dataStore.getClaims()
6565
.stream()
66-
.filter(claim -> claim.ownerID.equals(player.getSingle(e).getUniqueId()))
66+
.filter(claim -> player.getSingle(e).getUniqueId().equals(claim.ownerID))
6767
.filter(claim -> {
6868
switch (claimType) {
6969
case "normal":

0 commit comments

Comments
 (0)