mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-24 19:46:15 +01:00
Ugh
This commit is contained in:
parent
2bc928b144
commit
fdd41ce1ae
@ -33,7 +33,7 @@ public class CitizensTraitManager implements TraitManager {
|
|||||||
private final Map<Class<? extends Trait>, Constructor<? extends Trait>> CACHED_CTORS = new HashMap<Class<? extends Trait>, Constructor<? extends Trait>>();
|
private final Map<Class<? extends Trait>, Constructor<? extends Trait>> CACHED_CTORS = new HashMap<Class<? extends Trait>, Constructor<? extends Trait>>();
|
||||||
|
|
||||||
public CitizensTraitManager(Citizens plugin) {
|
public CitizensTraitManager(Citizens plugin) {
|
||||||
// Register Citizens traits\
|
// Register Citizens traits
|
||||||
registerTrait(new TraitFactory(Age.class).withName("age").withPlugin(plugin));
|
registerTrait(new TraitFactory(Age.class).withName("age").withPlugin(plugin));
|
||||||
registerTrait(new TraitFactory(CurrentLocation.class).withName("location").withPlugin(plugin));
|
registerTrait(new TraitFactory(CurrentLocation.class).withName("location").withPlugin(plugin));
|
||||||
registerTrait(new TraitFactory(Equipment.class).withName("equipment").withPlugin(plugin));
|
registerTrait(new TraitFactory(Equipment.class).withName("equipment").withPlugin(plugin));
|
||||||
|
Loading…
Reference in New Issue
Block a user