Port to 1.11
This commit is contained in:
@@ -20,7 +20,6 @@ package appeng.debug;
|
||||
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumActionResult;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraft.util.EnumHand;
|
||||
@@ -37,7 +36,7 @@ import appeng.worldgen.meteorite.StandardWorld;
|
||||
public class ToolMeteoritePlacer extends AEBaseItem
|
||||
{
|
||||
@Override
|
||||
public EnumActionResult onItemUseFirst( final ItemStack heldItem, final EntityPlayer player, final World world, final BlockPos pos, final EnumFacing side, final float hitX, final float hitY, final float hitZ, final EnumHand hand )
|
||||
public EnumActionResult onItemUseFirst( final EntityPlayer player, final World world, final BlockPos pos, final EnumFacing side, final float hitX, final float hitY, final float hitZ, final EnumHand hand )
|
||||
{
|
||||
if( Platform.isClient() )
|
||||
{
|
||||
@@ -49,7 +48,7 @@ public class ToolMeteoritePlacer extends AEBaseItem
|
||||
|
||||
if( !worked )
|
||||
{
|
||||
player.addChatMessage( new TextComponentString( "Un-suitable Location." ) );
|
||||
player.sendMessage( new TextComponentString( "Un-suitable Location." ) );
|
||||
}
|
||||
|
||||
return EnumActionResult.SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user