@@ -8,32 +8,13 @@ import org.bukkit.Material;
|
||||
*/
|
||||
public class Sign extends MaterialData implements Attachable {
|
||||
public Sign() {
|
||||
super(Material.SIGN_POST);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the raw type id
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Sign(final int type) {
|
||||
super(type);
|
||||
super(Material.LEGACY_SIGN_POST);
|
||||
}
|
||||
|
||||
public Sign(final Material type) {
|
||||
super(type);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the raw type id
|
||||
* @param data the raw data value
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
public Sign(final int type, final byte data) {
|
||||
super(type, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the raw type id
|
||||
* @param data the raw data value
|
||||
@@ -51,7 +32,7 @@ public class Sign extends MaterialData implements Attachable {
|
||||
* a block
|
||||
*/
|
||||
public boolean isWallSign() {
|
||||
return getItemType() == Material.WALL_SIGN;
|
||||
return getItemType() == Material.LEGACY_WALL_SIGN;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user