Port to 1.11
This commit is contained in:
@@ -164,7 +164,7 @@ public class FacadeContainer implements IFacadeContainer
|
||||
final NBTTagCompound t = c.getCompoundTag( "facade:" + x );
|
||||
if( t != null )
|
||||
{
|
||||
final ItemStack is = ItemStack.loadItemStackFromNBT( t );
|
||||
final ItemStack is = new ItemStack( t );
|
||||
if( is != null )
|
||||
{
|
||||
final Item i = is.getItem();
|
||||
|
||||
@@ -48,7 +48,7 @@ public class FacadePart implements IFacadePart, IBoxProvider
|
||||
throw new IllegalArgumentException( "Facade Part constructed on null item." );
|
||||
}
|
||||
this.facade = facade.copy();
|
||||
this.facade.stackSize = 1;
|
||||
this.facade.setCount( 1 );
|
||||
this.side = side;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user