dir msg color change
This commit is contained in:
parent
5ca043ae8b
commit
65fb16ad4d
1 changed files with 2 additions and 2 deletions
|
|
@ -111,11 +111,11 @@ public class FoliaFlow extends JavaPlugin implements Listener {
|
||||||
case 'y' -> relative = loc.getBlock().getRelative(0, (int) Math.signum(max), 0);
|
case 'y' -> relative = loc.getBlock().getRelative(0, (int) Math.signum(max), 0);
|
||||||
case 'z' -> relative = loc.getBlock().getRelative(0, 0, (int) Math.signum(max));
|
case 'z' -> relative = loc.getBlock().getRelative(0, 0, (int) Math.signum(max));
|
||||||
}
|
}
|
||||||
debug("Moving falling block from location " + loc.toString() + " to location " + relative.getLocation());
|
debug("Moving falling block from location " + loc.toString() + " to location " + dir);
|
||||||
return relative;
|
return relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void debug(String message) {
|
private void debug(String message) {
|
||||||
getServer().getConsoleSender().sendMessage(ChatColor.GRAY + "[DEBUG] " + message);
|
getServer().getConsoleSender().sendMessage(ChatColor.AQUA + "[FoliaFlow] " + message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue