mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-09 07:37:34 +01:00
Types are now always registered in uppercase
This commit is contained in:
parent
ac95cab01e
commit
61ebadc3a9
@ -98,7 +98,7 @@ public class Type {
|
||||
}
|
||||
|
||||
public Type(TypeManager manager, ConfigurationSection config) {
|
||||
id = config.getName();
|
||||
id = config.getName().toUpperCase().replace("-", "_").replace(" ", "_");
|
||||
|
||||
parent = manager.get(config.getString("parent").toUpperCase().replace("-", "_").replace(" ", "_"));
|
||||
set = parent.set;
|
||||
|
Loading…
Reference in New Issue
Block a user