mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-19 11:49:05 +00:00
String equals
This commit is contained in:
1 parent
fdeaf3b163
commit
23cc4f1236
2 files changed
+12
-12
No files matched your search
@@ -194,8 +194,8 @@ public class StringUtil {
|
||||
if ((oldstr.charAt(0) != '"' || oldstr.charAt(oldstr.length() - 1) != '"')
|
||||
&& (oldstr.charAt(0) != '\'' || oldstr.charAt(oldstr.length() - 1) != '\'')) {
|
||||
// TODO: error
|
||||
// throw new TweakerExecuteException("Not a valid string constant: "
|
||||
// + oldstr);
|
||||
// throw new TweakerExecuteException("Not a valid string constant: "
|
||||
// + oldstr);
|
||||
}
|
||||
oldstr = oldstr.substring(1, oldstr.length() - 1);
|
||||
|
||||
|
||||
Reference in new issue
Block a user