Fix portal in Zenumist society not working for GM chr
This commit is contained in:
@@ -78,7 +78,7 @@ public final class ChangeMapHandler extends AbstractPacketHandler {
|
|||||||
p.readByte();
|
p.readByte();
|
||||||
boolean wheel = p.readByte() > 0;
|
boolean wheel = p.readByte() > 0;
|
||||||
|
|
||||||
boolean chasing = p.readByte() == 1 && chr.isGM();
|
boolean chasing = p.readByte() == 1 && chr.isGM() && p.available() == 2 * Integer.BYTES;
|
||||||
if (chasing) {
|
if (chasing) {
|
||||||
chr.setChasing(true);
|
chr.setChasing(true);
|
||||||
chr.setPosition(new Point(p.readInt(), p.readInt()));
|
chr.setPosition(new Point(p.readInt(), p.readInt()));
|
||||||
|
|||||||
Reference in New Issue
Block a user