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

@@ -8,33 +8,10 @@ import org.bukkit.block.BlockFace;
*/
public class PistonBaseMaterial extends MaterialData implements Directional, Redstone {
/**
* Constructs a PistonBaseMaterial
*
* @param type the raw type id
* @deprecated Magic value
*/
@Deprecated
public PistonBaseMaterial(final int type) {
super(type);
}
public PistonBaseMaterial(final Material type) {
super(type);
}
/**
* Constructs a PistonBaseMaterial.
*
* @param type the raw type id
* @param data the raw data value
* @deprecated Magic value
*/
@Deprecated
public PistonBaseMaterial(final int type, final byte data) {
super(type, data);
}
/**
* Constructs a PistonBaseMaterial.
*
@@ -113,7 +90,7 @@ public class PistonBaseMaterial extends MaterialData implements Directional, Red
* @return true if this piston is "sticky", or false
*/
public boolean isSticky() {
return this.getItemType() == Material.PISTON_STICKY_BASE;
return this.getItemType() == Material.LEGACY_PISTON_STICKY_BASE;
}
@Override