mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 12:35:15 +01:00
We had this lowercase for a reason, but why...?
We will need to ultimately have it case sensitive.
This commit is contained in:
parent
8140581e4e
commit
d827d7d230
@ -54,7 +54,7 @@ public class StringWrapper {
|
||||
return false;
|
||||
}
|
||||
final StringWrapper other = (StringWrapper) obj;
|
||||
return other.value.toLowerCase().equals(this.value.toLowerCase());
|
||||
return other.value.equals(this.value);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -77,6 +77,6 @@ public class StringWrapper {
|
||||
if (this.value == null) {
|
||||
return 0;
|
||||
}
|
||||
return this.value.toLowerCase().hashCode();
|
||||
return this.value.hashCode();
|
||||
}
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class ReflectionUtils {
|
||||
* @return RefClass object
|
||||
* @throws RuntimeException if no class found
|
||||
*/
|
||||
public static RefClass getRefClass(final String... classes) {
|
||||
public static RefClass getRefClass(final String... classes) throws RuntimeException {
|
||||
for (String className : classes) {
|
||||
try {
|
||||
className = className.replace("{cb}", preClassB).replace("{nms}", preClassM).replace("{nm}", "net.minecraft");
|
||||
|
Loading…
Reference in New Issue
Block a user