Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
Fix target filtering on rollbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
yitzy299 committed Mar 1, 2021
1 parent 726df38 commit 90cb32c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public static String criteria(String criteria, ServerPlayerEntity player, Server
String query = "";
if (propertyMap.containsKey("target")) {
GameProfileArgumentType.GameProfileArgument targets = (GameProfileArgumentType.GameProfileArgument) propertyMap.get("target");
query += " AND player_id = (SELECT id FROM players WHERE uuid = " + getUuid(targets, scs) + ")";
query += " AND player_id = (SELECT id FROM players WHERE uuid = \"" + getUuid(targets, scs) + "\")";
}
return query;
}
Expand Down

0 comments on commit 90cb32c

Please sign in to comment.