mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
AttributeModifier not registered in ConfigurationSerialization
By: md_5 <git@md-5.net>
This commit is contained in:
parent
9d616dcba5
commit
1c5031ca41
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue