Updates depreciated sign API calls
This commit is contained in:
@@ -4,6 +4,7 @@ import net.knarcraft.knarlib.util.ColorHelper;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
import org.bukkit.DyeColor;
|
||||
import org.bukkit.block.Sign;
|
||||
import org.bukkit.block.sign.Side;
|
||||
|
||||
/**
|
||||
* A class that keeps track of the sign colors for a given sign
|
||||
@@ -26,7 +27,7 @@ public class SignData {
|
||||
this.sign = sign;
|
||||
this.mainSignColor = mainSignColor;
|
||||
this.highlightSignColor = highlightSignColor;
|
||||
this.dyedColor = sign.getColor();
|
||||
this.dyedColor = sign.getSide(Side.FRONT).getColor();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user