Always use qualified access for fields and methods
This commit is contained in:
@@ -114,7 +114,7 @@ public abstract class AppEngPacket implements Packet
|
||||
|
||||
public ByteArrayInputStream getPacketByteArray( ByteBuf stream )
|
||||
{
|
||||
return getPacketByteArray( stream, 0, stream.readableBytes() );
|
||||
return this.getPacketByteArray( stream, 0, stream.readableBytes() );
|
||||
}
|
||||
|
||||
public void setCallParam( final PacketCallState call )
|
||||
|
||||
@@ -77,7 +77,7 @@ public class PacketPartPlacement extends AppEngPacket
|
||||
final EntityPlayerMP sender = (EntityPlayerMP) player;
|
||||
AppEng.proxy.updateRenderMode( sender );
|
||||
PartPlacement.setEyeHeight( this.eyeHeight );
|
||||
PartPlacement.place( sender.getHeldItem( hand ), new BlockPos( this.x, this.y, this.z ), EnumFacing.VALUES[this.face], sender, hand, sender.world,
|
||||
PartPlacement.place( sender.getHeldItem( this.hand ), new BlockPos( this.x, this.y, this.z ), EnumFacing.VALUES[this.face], sender, this.hand, sender.world,
|
||||
PartPlacement.PlaceType.INTERACT_FIRST_PASS, 0 );
|
||||
AppEng.proxy.updateRenderMode( null );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user