Update to 1.16.2

This commit is contained in:
Marcel Konrad
2020-08-29 20:33:33 +02:00
parent 8d6a4b8a38
commit b1db1a78f4
57 changed files with 589 additions and 617 deletions

View File

@@ -492,7 +492,7 @@ public class BuilderSummon extends CommandBuilderNBT
}
else if(entity.equalsIgnoreCase("Pigman") || entity.equalsIgnoreCase("ZombiePig") || entity.equalsIgnoreCase("ZombiePigman"))
{
return EntityType.field_233592_ba_.getRegistryName();
return EntityType.PIGLIN.getRegistryName();
}
else if(entity.equalsIgnoreCase("Wither"))
{

View File

@@ -72,7 +72,7 @@ public class BlockResourceLocation extends ItemResourceLocation
public <T extends Comparable<T>> void setProperty(Property<T> property, T value)
{
if(this.state != null && this.state.func_235901_b_(property)) //has
if(this.state != null && this.state.hasProperty(property))
{
this.state = this.state.with(property, value);
}