Fixed opcode clash for PUSHF instruction

This commit is contained in:
simon 2018-01-20 12:33:01 -05:00
parent 210e579995
commit c772abe0bf
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ public class PushfInstruction extends Instruction {
/**
* Opcode of the instruction
*/
public static final int OPCODE = 43;
public static final int OPCODE = 45;
private CPU cpu;

View File

@ -17,7 +17,7 @@ public class TerrainRequestHandler implements MessageHandler {
try {
world = GameServer.INSTANCE.getGameUniverse().getWorld(
Long.valueOf((long) json.get("x")).intValue(),
Long.valueOf((long) json.get("y")).intValue(), true);
Long.valueOf((long) json.get("y")).intValue(), false);
} catch (NullPointerException e) {
LogManager.LOGGER.severe("FIXME: handle TerrainRequestHandler");
return;