mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
Fix packet constructors temporarily
This commit is contained in:
parent
b5deb920bd
commit
c908bcbc44
@ -36,12 +36,8 @@ public class ShockPacketIncoming extends ShockPacket {
|
|||||||
super(HPacketFormat.WEDGIE_INCOMING, header, objects);
|
super(HPacketFormat.WEDGIE_INCOMING, header, objects);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShockPacketIncoming(String identifier, HMessage.Direction direction) throws InvalidParameterException {
|
public ShockPacketIncoming(String identifier, Object... objects) throws InvalidParameterException {
|
||||||
super(HPacketFormat.WEDGIE_INCOMING, identifier, direction);
|
super(HPacketFormat.WEDGIE_INCOMING, identifier, HMessage.Direction.TOCLIENT, objects);
|
||||||
}
|
|
||||||
|
|
||||||
public ShockPacketIncoming(String identifier, HMessage.Direction direction, Object... objects) throws InvalidParameterException {
|
|
||||||
super(HPacketFormat.WEDGIE_INCOMING, identifier, direction, objects);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -35,12 +35,8 @@ public class ShockPacketOutgoing extends ShockPacket {
|
|||||||
super(HPacketFormat.WEDGIE_INCOMING, header, objects);
|
super(HPacketFormat.WEDGIE_INCOMING, header, objects);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ShockPacketOutgoing(String identifier, HMessage.Direction direction) throws InvalidParameterException {
|
public ShockPacketOutgoing(String identifier, Object... objects) throws InvalidParameterException {
|
||||||
super(HPacketFormat.WEDGIE_INCOMING, identifier, direction);
|
super(HPacketFormat.WEDGIE_INCOMING, identifier, HMessage.Direction.TOSERVER, objects);
|
||||||
}
|
|
||||||
|
|
||||||
public ShockPacketOutgoing(String identifier, HMessage.Direction direction, Object... objects) throws InvalidParameterException {
|
|
||||||
super(HPacketFormat.WEDGIE_INCOMING, identifier, direction, objects);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
2
pom.xml
2
pom.xml
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- Version of the application. -->
|
<!-- Version of the application. -->
|
||||||
<revision>1.5.4-beta-2</revision>
|
<revision>1.5.4-beta-3</revision>
|
||||||
<changelist>-SNAPSHOT</changelist>
|
<changelist>-SNAPSHOT</changelist>
|
||||||
<!-- Version for https://github.com/sirjonasxx/G-ExtensionStore to keep compatibility with beta versions. -->
|
<!-- Version for https://github.com/sirjonasxx/G-ExtensionStore to keep compatibility with beta versions. -->
|
||||||
<storeVersion>1.5.3</storeVersion>
|
<storeVersion>1.5.3</storeVersion>
|
||||||
|
Loading…
Reference in New Issue
Block a user