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,7 +6,7 @@ import org.bukkit.TreeSpecies;
/**
* Represents the different types of Tree block that face a direction.
*
* @see Material#SAPLING
* @see Material#LEGACY_SAPLING
*/
public class Sapling extends Wood {
@@ -34,7 +34,7 @@ public class Sapling extends Wood {
* @param isInstantGrowable true if the Sapling should grow when next ticked with bonemeal
*/
public Sapling(TreeSpecies species, boolean isInstantGrowable) {
this(Material.SAPLING, species, isInstantGrowable);
this(Material.LEGACY_SAPLING, species, isInstantGrowable);
}
/**
@@ -70,16 +70,6 @@ public class Sapling extends Wood {
setIsInstantGrowable(isInstantGrowable);
}
/**
* @param type the raw type id
* @param data the raw data value
* @deprecated Magic value
*/
@Deprecated
public Sapling(final int type, final byte data) {
super(type, data);
}
/**
* @param type the type
* @param data the raw data value