Search in sources :

Example 1 with SpawnPositionMessage

use of net.glowstone.net.message.play.game.SpawnPositionMessage in project Glowstone by GlowstoneMC.

the class GlowPlayer method setCompassTarget.

@Override
public void setCompassTarget(Location loc) {
    compassTarget = loc;
    session.send(new SpawnPositionMessage(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()));
}
Also used : SpawnPositionMessage(net.glowstone.net.message.play.game.SpawnPositionMessage)

Aggregations

SpawnPositionMessage (net.glowstone.net.message.play.game.SpawnPositionMessage)1