From 207bd9839edf66fbb81f535161c488265c8437bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Tue, 18 Feb 2020 19:36:22 +0100 Subject: [PATCH] Replace flag.getValue().toString() with flag.toString() --- .../plotsquared/plot/database/SQLManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/database/SQLManager.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/database/SQLManager.java index 09f3dee19..903e2892c 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/database/SQLManager.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/database/SQLManager.java @@ -871,7 +871,7 @@ import java.util.concurrent.atomic.AtomicInteger; flag_string.append(','); } flag_string.append(flag.getName()).append(':').append( - flag.getValue().toString().replaceAll(":", "¯") + flag.toString().replaceAll(":", "¯") .replaceAll(",", "´")); k++; } @@ -909,7 +909,7 @@ import java.util.concurrent.atomic.AtomicInteger; flag_string.append(','); } flag_string.append(flag.getName()).append(':').append( - flag.getValue().toString().replaceAll(":", "¯") + flag.toString().replaceAll(":", "¯") .replaceAll(",", "´")); k++; } @@ -3124,7 +3124,7 @@ import java.util.concurrent.atomic.AtomicInteger; flag_string.append(','); } flag_string.append(flag.getName()).append(':') - .append(flag.getValue().toString().replaceAll(":", "¯").replaceAll(",", "´")); + .append(flag.toString().replaceAll(":", "¯").replaceAll(",", "´")); i++; } return flag_string.toString();