diff options
author | md_5 <git@md-5.net> | 2017-11-15 09:45:55 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-11-15 09:45:55 +1100 |
commit | 4359dbee24e331f96bc7ff88ec25e2b74cfbaa7e (patch) | |
tree | 08b2911680f5b2926fb3d167ab24ab6cbb6bd820 /src/main/java | |
parent | ebed1f62a85a6fcd643de6cbb1a26489f9ed67aa (diff) | |
download | bukkit-4359dbee24e331f96bc7ff88ec25e2b74cfbaa7e.tar bukkit-4359dbee24e331f96bc7ff88ec25e2b74cfbaa7e.tar.gz bukkit-4359dbee24e331f96bc7ff88ec25e2b74cfbaa7e.tar.lz bukkit-4359dbee24e331f96bc7ff88ec25e2b74cfbaa7e.tar.xz bukkit-4359dbee24e331f96bc7ff88ec25e2b74cfbaa7e.zip |
AttributeModifier not registered in ConfigurationSerialization
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/configuration/serialization/ConfigurationSerialization.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/configuration/serialization/ConfigurationSerialization.java b/src/main/java/org/bukkit/configuration/serialization/ConfigurationSerialization.java index e5ddef25..f5441bfd 100644 --- a/src/main/java/org/bukkit/configuration/serialization/ConfigurationSerialization.java +++ b/src/main/java/org/bukkit/configuration/serialization/ConfigurationSerialization.java @@ -13,6 +13,7 @@ import org.apache.commons.lang.Validate; import org.bukkit.Color; import org.bukkit.FireworkEffect; import org.bukkit.Location; +import org.bukkit.attribute.AttributeModifier; import org.bukkit.block.banner.Pattern; import org.bukkit.configuration.Configuration; import org.bukkit.inventory.ItemStack; @@ -37,6 +38,7 @@ public class ConfigurationSerialization { registerClass(FireworkEffect.class); registerClass(Pattern.class); registerClass(Location.class); + registerClass(AttributeModifier.class); } protected ConfigurationSerialization(Class<? extends ConfigurationSerializable> clazz) { |