From 8c956cb6ffa701ca88ef120776defe9e220fa579 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 4 Dec 2014 10:29:42 +0000 Subject: [PATCH] Register the Pattern class to ConfigurationSerialization By: Thinkofdeath --- .../configuration/serialization/ConfigurationSerialization.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/configuration/serialization/ConfigurationSerialization.java b/paper-api/src/main/java/org/bukkit/configuration/serialization/ConfigurationSerialization.java index 96a806f1b9..375297c68b 100644 --- a/paper-api/src/main/java/org/bukkit/configuration/serialization/ConfigurationSerialization.java +++ b/paper-api/src/main/java/org/bukkit/configuration/serialization/ConfigurationSerialization.java @@ -12,6 +12,7 @@ import java.util.logging.Logger; import org.apache.commons.lang.Validate; import org.bukkit.Color; import org.bukkit.FireworkEffect; +import org.bukkit.block.banner.Pattern; import org.bukkit.configuration.Configuration; import org.bukkit.inventory.ItemStack; import org.bukkit.potion.PotionEffect; @@ -33,6 +34,7 @@ public class ConfigurationSerialization { registerClass(Color.class); registerClass(PotionEffect.class); registerClass(FireworkEffect.class); + registerClass(Pattern.class); } protected ConfigurationSerialization(Class clazz) {