split client and server 2
This commit is contained in:
parent
2fa521c3d1
commit
b17efb5b07
158 changed files with 1080 additions and 515 deletions
|
@ -3,14 +3,14 @@ package game.packet;
|
|||
import java.io.IOException;
|
||||
|
||||
import game.init.BlockRegistry;
|
||||
import game.network.ClientPlayer;
|
||||
import game.network.IClientPlayer;
|
||||
import game.network.Packet;
|
||||
import game.network.PacketBuffer;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
|
||||
public class SPacketBlockChange implements Packet<ClientPlayer>
|
||||
public class SPacketBlockChange implements Packet<IClientPlayer>
|
||||
{
|
||||
private BlockPos blockPosition;
|
||||
private State blockState;
|
||||
|
@ -46,7 +46,7 @@ public class SPacketBlockChange implements Packet<ClientPlayer>
|
|||
/**
|
||||
* Passes this Packet on to the NetHandler for processing.
|
||||
*/
|
||||
public void processPacket(ClientPlayer handler)
|
||||
public void processPacket(IClientPlayer handler)
|
||||
{
|
||||
handler.handleBlockChange(this);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue