mirror of
https://github.com/moparisthebest/MoparClassic
synced 2025-02-28 08:21:52 -05:00
Removed unused import and local variable in PlayerLogin.
This commit is contained in:
parent
cd90ec107a
commit
025614c94d
@ -2,7 +2,6 @@ package org.moparscape.msc.gs.phandler;
|
||||
|
||||
import org.apache.mina.common.IoSession;
|
||||
import org.moparscape.msc.config.Config;
|
||||
import org.moparscape.msc.config.Constants;
|
||||
import org.moparscape.msc.config.Formulae;
|
||||
import org.moparscape.msc.gs.Instance;
|
||||
import org.moparscape.msc.gs.builders.RSCPacketBuilder;
|
||||
@ -44,7 +43,6 @@ public class PlayerLogin implements PacketHandler {
|
||||
player.getSession().close();
|
||||
return;
|
||||
}
|
||||
boolean newchar = false;
|
||||
RSCPacketBuilder pb = new RSCPacketBuilder();
|
||||
pb.setBare(true);
|
||||
pb.addByte(loginCode);
|
||||
@ -67,7 +65,6 @@ public class PlayerLogin implements PacketHandler {
|
||||
int x = p.readShort();
|
||||
@SuppressWarnings("unused")
|
||||
int y = p.readShort();
|
||||
newchar = true;
|
||||
} else {
|
||||
player.setLocation(
|
||||
Point.location(p.readShort(), p.readShort()), true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user