Skip to content

Commit

Permalink
removed unused flags inner class.
Browse files Browse the repository at this point in the history
  • Loading branch information
KonoTyran committed Jul 31, 2024
1 parent 65dbdc4 commit e68e56e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
6 changes: 6 additions & 0 deletions src/main/java/dev/koifysh/archipelago/NetworkItemFlags.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
package dev.koifysh.archipelago;

/**
* Flags that will tell you more about the item that was sent.<br>
* {@link #ADVANCEMENT},
* {@link #USEFUL},
* {@link #TRAP}
*/
public class NetworkItemFlags {
/**
* If set, indicates the item can unlock logical advancement
Expand Down
24 changes: 0 additions & 24 deletions src/main/java/dev/koifysh/archipelago/parts/NetworkItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,4 @@ public class NetworkItem {
public String locationName;
public String playerName;

/**
* Flags that will tell you more about the item that was sent.<br>
* {@link #ADVANCEMENT},
* {@link #USEFUL},
* {@link #TRAP}
*/
public static class Flags {

/**
* If set, indicates the item can unlock logical advancement
*/
public final static int ADVANCEMENT = 0b001;

/**
* If set, indicates the item is important but not in a way that unlocks advancement
*/
public final static int USEFUL = 0b010;

/**
* If set, indicates the item is a trap
*/
public final static int TRAP = 0b100;

}
}

0 comments on commit e68e56e

Please sign in to comment.