Update to 1.16.2
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user