We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2805019 commit ecc3693Copy full SHA for ecc3693
src/com/redomar/game/objects/Inventory.java
@@ -9,14 +9,15 @@ public class Inventory {
9
public static boolean open = false;
10
public static boolean closing;
11
public static boolean reset;
12
+ public static boolean enabled;
13
private static InventoryWindow inv_window = new InventoryWindow();
14
15
public static void activate() {
16
x = (int) Game.getPlayer().getX();
17
y = (int) Game.getPlayer().getY();
18
19
if (Game.getLevel().getTile(x >> 3, y >> 3).getId() == 8) {
- if (!reset) {
20
+ if (enabled) {
21
if (!open) {
22
if (!closing) {
23
System.out.println("Opened\nInside this Bag their is:"
0 commit comments