Update to Minecraft 1.13-pre7

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2018-07-15 10:00:00 +10:00
parent debc7172fd
commit 767e4f6ccf
199 changed files with 8301 additions and 3637 deletions

View File

@@ -6,22 +6,13 @@ import org.bukkit.block.BlockFace;
public class Banner extends MaterialData implements Attachable {
public Banner() {
super(Material.BANNER);
super(Material.LEGACY_BANNER);
}
public Banner(Material type) {
super(type);
}
/**
* @param type the raw type id
* @deprecated Magic value
*/
@Deprecated
public Banner(int type) {
super(type);
}
/**
*
* @param type the type
@@ -33,18 +24,8 @@ public class Banner extends MaterialData implements Attachable {
super(type, data);
}
/** *
* @param type the raw type id
* @param data the raw data value
* @deprecated Magic value
*/
@Deprecated
public Banner(int type, byte data) {
super(type, data);
}
public boolean isWallBanner() {
return getItemType() == Material.WALL_BANNER;
return getItemType() == Material.LEGACY_WALL_BANNER;
}
public BlockFace getAttachedFace() {