Use qualified method and field access
This commit is contained in:
@@ -32,12 +32,12 @@ public class WrapperCursorItemHandler extends ItemStackHandler
|
||||
super( 1 );
|
||||
|
||||
this.inv = inventoryPlayer;
|
||||
setStackInSlot( 0, inventoryPlayer.getItemStack() );
|
||||
this.setStackInSlot( 0, inventoryPlayer.getItemStack() );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onContentsChanged( int slot )
|
||||
{
|
||||
this.inv.setItemStack( getStackInSlot( slot ) );
|
||||
this.inv.setItemStack( this.getStackInSlot( slot ) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user