mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-15 01:08:35 +00:00
Basic tab suggestions
This commit is contained in:
@ -52,6 +52,13 @@ public class StringMan {
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static String prettyFormat(double d) {
|
||||
if (d == Double.MIN_VALUE) return "-∞";
|
||||
if (d == Double.MAX_VALUE) return "∞";
|
||||
if(d == (long) d) return String.format("%d",(long)d);
|
||||
else return String.format("%s",d);
|
||||
}
|
||||
|
||||
public static boolean isBracketForwards(char c) {
|
||||
switch (c) {
|
||||
case '[':
|
||||
|
Reference in New Issue
Block a user