This prevents the result from various inventory actions to be placed into the offhand or armor slots.
This commit is contained in:
parent
e2a6cd1d57
commit
725fa491e6
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ package appeng.util.inv;
|
|||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.items.wrapper.PlayerInvWrapper;
|
||||
import net.minecraftforge.items.wrapper.PlayerMainInvWrapper;
|
||||
|
||||
import appeng.util.Platform;
|
||||
|
||||
|
@ -30,7 +30,7 @@ public class AdaptorItemHandlerPlayerInv extends AdaptorItemHandler
|
|||
{
|
||||
public AdaptorItemHandlerPlayerInv( final EntityPlayer playerInv )
|
||||
{
|
||||
super( new PlayerInvWrapper( playerInv.inventory ) );
|
||||
super( new PlayerMainInvWrapper( playerInv.inventory ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue