Handler created for StuckMsg

This commit is contained in:
2024-03-29 06:52:11 -04:00
parent 56bc38ab73
commit 5a5fd8155c
5 changed files with 69 additions and 34 deletions
@@ -16,12 +16,12 @@ import engine.net.ByteBufferWriter;
import engine.net.client.Protocol;
public class StuckCommandMsg extends ClientNetMsg {
public class StuckMsg extends ClientNetMsg {
/**
* This is the general purpose constructor.
*/
public StuckCommandMsg() {
public StuckMsg() {
super(Protocol.STUCK);
}
@@ -31,7 +31,7 @@ public class StuckCommandMsg extends ClientNetMsg {
* past the limit) then this constructor Throws that Exception to the
* caller.
*/
public StuckCommandMsg(AbstractConnection origin, ByteBufferReader reader) {
public StuckMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.STUCK, origin, reader);
}