diff --git a/G-Earth/src/main/java/gearth/protocol/packethandler/shockwave/packets/ShockPacketIncoming.java b/G-Earth/src/main/java/gearth/protocol/packethandler/shockwave/packets/ShockPacketIncoming.java index 3f25a6b..13ea435 100644 --- a/G-Earth/src/main/java/gearth/protocol/packethandler/shockwave/packets/ShockPacketIncoming.java +++ b/G-Earth/src/main/java/gearth/protocol/packethandler/shockwave/packets/ShockPacketIncoming.java @@ -36,12 +36,8 @@ public class ShockPacketIncoming extends ShockPacket { super(HPacketFormat.WEDGIE_INCOMING, header, objects); } - public ShockPacketIncoming(String identifier, HMessage.Direction direction) throws InvalidParameterException { - super(HPacketFormat.WEDGIE_INCOMING, identifier, direction); - } - - public ShockPacketIncoming(String identifier, HMessage.Direction direction, Object... objects) throws InvalidParameterException { - super(HPacketFormat.WEDGIE_INCOMING, identifier, direction, objects); + public ShockPacketIncoming(String identifier, Object... objects) throws InvalidParameterException { + super(HPacketFormat.WEDGIE_INCOMING, identifier, HMessage.Direction.TOCLIENT, objects); } @Override diff --git a/G-Earth/src/main/java/gearth/protocol/packethandler/shockwave/packets/ShockPacketOutgoing.java b/G-Earth/src/main/java/gearth/protocol/packethandler/shockwave/packets/ShockPacketOutgoing.java index a588d5e..70a078b 100644 --- a/G-Earth/src/main/java/gearth/protocol/packethandler/shockwave/packets/ShockPacketOutgoing.java +++ b/G-Earth/src/main/java/gearth/protocol/packethandler/shockwave/packets/ShockPacketOutgoing.java @@ -35,12 +35,8 @@ public class ShockPacketOutgoing extends ShockPacket { super(HPacketFormat.WEDGIE_INCOMING, header, objects); } - public ShockPacketOutgoing(String identifier, HMessage.Direction direction) throws InvalidParameterException { - super(HPacketFormat.WEDGIE_INCOMING, identifier, direction); - } - - public ShockPacketOutgoing(String identifier, HMessage.Direction direction, Object... objects) throws InvalidParameterException { - super(HPacketFormat.WEDGIE_INCOMING, identifier, direction, objects); + public ShockPacketOutgoing(String identifier, Object... objects) throws InvalidParameterException { + super(HPacketFormat.WEDGIE_INCOMING, identifier, HMessage.Direction.TOSERVER, objects); } @Override diff --git a/pom.xml b/pom.xml index 2900575..57a43fe 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ - 1.5.4-beta-2 + 1.5.4-beta-3 -SNAPSHOT 1.5.3