Fix packet constructors temporarily

This commit is contained in:
UnfamiliarLegacy 2024-06-25 07:18:03 +02:00
parent b5deb920bd
commit c908bcbc44
3 changed files with 5 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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>