mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
@@ -51,6 +51,10 @@ public class Firemaking {
|
|||||||
c.getPacketSender().sendMessage("You cannot light a fire here.");
|
c.getPacketSender().sendMessage("You cannot light a fire here.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (Boundary.isIn(c, Boundary.DWARF_NO_FIREMAKING)) {
|
||||||
|
c.getPacketSender().sendMessage("The dwarves won't be happy if you light a fire here.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (GameEngine.objectManager.objectExists(c.absX, c.absY)) {
|
if (GameEngine.objectManager.objectExists(c.absX, c.absY)) {
|
||||||
c.getPacketSender().sendMessage("You cannot light a fire here.");
|
c.getPacketSender().sendMessage("You cannot light a fire here.");
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -318,5 +318,5 @@ public class Boundary {
|
|||||||
public static final Boundary MAGE_TRAINING_ARENA_GRAVEYARD = new Boundary(3340, 3386, 9616, 9662, 1);
|
public static final Boundary MAGE_TRAINING_ARENA_GRAVEYARD = new Boundary(3340, 3386, 9616, 9662, 1);
|
||||||
public static final Boundary MAGE_TRAINING_ARENA_ALCHEMY = new Boundary(3350, 3379, 9616, 9655, 2);
|
public static final Boundary MAGE_TRAINING_ARENA_ALCHEMY = new Boundary(3350, 3379, 9616, 9655, 2);
|
||||||
public static final Boundary MAGE_TRAINING_ARENA_TELEKINETIC = new Boundary(3329, 3390, 9665, 9726);
|
public static final Boundary MAGE_TRAINING_ARENA_TELEKINETIC = new Boundary(3329, 3390, 9665, 9726);
|
||||||
|
public static final Boundary[] DWARF_NO_FIREMAKING = new Boundary[] { new Boundary(2944, 3072, 3392, 3456), new Boundary(3008, 3072, 3456, 3520), new Boundary(2880, 2944, 3456, 3520) };
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user