Skip to content

Commit

Permalink
Remove bug warnig message for no sign available for Vflag
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorinwasher committed Jun 19, 2024
1 parent 070fd1e commit 3a0c635
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,11 @@ public void run() {

private void updateColorDrawer(Location location, DyeColor changedColor, PortalPosition portalPosition) {
if (!(location.getBlock().getState() instanceof Sign sign)) {
Stargate.log(Level.WARNING, String.format("Could not find a sign for portal %s in network %s %n"
+ "This is most likely caused from a bug // please contact developers (use ''sg about'' for github repo)",
this.name, this.network.getName()));
if (!hasFlag(PortalFlag.NO_SIGN)) {
Stargate.log(Level.WARNING, String.format("Could not find a sign for portal %s in network %s %n"
+ "This is most likely caused from a bug // please contact developers (use ''sg about'' for github repo)",
this.name, this.network.getName()));
}
return;
}
DyeColor color;
Expand Down

0 comments on commit 3a0c635

Please sign in to comment.