mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-08 09:42:56 +01:00
Use contains instead of equals........
This commit is contained in:
parent
d33af82177
commit
6f15938dae
@ -82,7 +82,7 @@ public class ReflectionManager {
|
|||||||
*/
|
*/
|
||||||
private static Map<String, Map<String, Map<String, String>>> ForgeMethodMappings;
|
private static Map<String, Map<String, Map<String, String>>> ForgeMethodMappings;
|
||||||
private static final Method ihmGet;
|
private static final Method ihmGet;
|
||||||
private static final boolean isForge = Bukkit.getServer().getName().equalsIgnoreCase("Cauldron");
|
private static final boolean isForge = Bukkit.getServer().getName().contains("Cauldron") || Bukkit.getServer().getName().contains("MCPC-Plus");
|
||||||
private static final Field pingField;
|
private static final Field pingField;
|
||||||
private static Map<Class<?>, String> primitiveTypes;
|
private static Map<Class<?>, String> primitiveTypes;
|
||||||
private static final Field trackerField;
|
private static final Field trackerField;
|
||||||
|
Loading…
Reference in New Issue
Block a user