Update buildscript to Gradle 2.14 & Forge to 1.9.4 (1965)

This commit is contained in:
Kenzie Togami
2016-06-18 00:32:17 -07:00
parent f689d53d62
commit 5afd2bbbf3
7 changed files with 43 additions and 48 deletions

View File

@ -119,7 +119,7 @@ public class ForgePlayer extends AbstractPlayerActor {
}
PacketBuffer buffer = new PacketBuffer(Unpooled.copiedBuffer(send.getBytes(WECUIPacketHandler.UTF_8_CHARSET)));
SPacketCustomPayload packet = new SPacketCustomPayload(ForgeWorldEdit.CUI_PLUGIN_CHANNEL, buffer);
this.player.playerNetServerHandler.sendPacket(packet);
this.player.connection.sendPacket(packet);
}
@Override
@ -154,7 +154,7 @@ public class ForgePlayer extends AbstractPlayerActor {
@Override
public void setPosition(Vector pos, float pitch, float yaw) {
this.player.playerNetServerHandler.setPlayerLocation(pos.getX(), pos.getY(), pos.getZ(), yaw, pitch);
this.player.connection.setPlayerLocation(pos.getX(), pos.getY(), pos.getZ(), yaw, pitch);
}
@Override