mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 18:46:43 +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
|
* Opcode of the instruction
|
||||||
*/
|
*/
|
||||||
public static final int OPCODE = 43;
|
public static final int OPCODE = 45;
|
||||||
|
|
||||||
private CPU cpu;
|
private CPU cpu;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ public class TerrainRequestHandler implements MessageHandler {
|
|||||||
try {
|
try {
|
||||||
world = GameServer.INSTANCE.getGameUniverse().getWorld(
|
world = GameServer.INSTANCE.getGameUniverse().getWorld(
|
||||||
Long.valueOf((long) json.get("x")).intValue(),
|
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) {
|
} catch (NullPointerException e) {
|
||||||
LogManager.LOGGER.severe("FIXME: handle TerrainRequestHandler");
|
LogManager.LOGGER.severe("FIXME: handle TerrainRequestHandler");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user