mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-10 14:26:45 +00:00
Fixed opcode clash for PUSHF instruction
This commit is contained in:
parent
210e579995
commit
c772abe0bf
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user