1.15 port
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
package appeng.container.slot;
|
||||
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.items.IItemHandler;
|
||||
|
||||
@@ -33,7 +33,7 @@ public class SlotFake extends AppEngSlot
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack onTake( final EntityPlayer par1EntityPlayer, final ItemStack par2ItemStack )
|
||||
public ItemStack onTake( final PlayerEntity par1PlayerEntity, final ItemStack par2ItemStack )
|
||||
{
|
||||
return par2ItemStack;
|
||||
}
|
||||
@@ -62,7 +62,7 @@ public class SlotFake extends AppEngSlot
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canTakeStack( final EntityPlayer par1EntityPlayer )
|
||||
public boolean canTakeStack( final PlayerEntity par1PlayerEntity )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user