diff --git a/src/main/java/me/unurled/sacredrealms/sr/data/gson/PotionEffectSerializer.java b/src/main/java/me/unurled/sacredrealms/sr/data/gson/PotionEffectSerializer.java index 0712b9f..7b08aa6 100644 --- a/src/main/java/me/unurled/sacredrealms/sr/data/gson/PotionEffectSerializer.java +++ b/src/main/java/me/unurled/sacredrealms/sr/data/gson/PotionEffectSerializer.java @@ -12,14 +12,16 @@ public class PotionEffectSerializer implements JsonSerializer { @Override public JsonElement serialize( PotionEffect potionEffect, Type type, JsonSerializationContext jsonSerializationContext) { - String sb = "{" - + potionEffect.getType().key() - + "," - + potionEffect.getDuration() - + "," - + potionEffect.getAmplifier() - + "," + potionEffect.hasParticles() - + "}"; + String sb = + "{" + + potionEffect.getType().key() + + "," + + potionEffect.getDuration() + + "," + + potionEffect.getAmplifier() + + "," + + potionEffect.hasParticles() + + "}"; return new JsonPrimitive(sb); } } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 8c928fc..01de738 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -5,7 +5,7 @@ api-version: "$apiVersion" description: $description load: POSTWORLD authors: - - unurled + - unurled permissions: sr.tutorial: