This prevents the result from various inventory actions to be placed into the offhand or armor slots.
This commit is contained in:
@@ -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 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user