Actually use the BukkitMetadataStore

This commit is contained in:
Shane Freeder 2020-03-04 23:23:20 +00:00
parent 5ba410f4cf
commit f96ba1b4b5
No known key found for this signature in database
GPG Key ID: A3F61EA5A085289C
2 changed files with 3 additions and 3 deletions

View File

@ -65,8 +65,8 @@ public class BukkitBootstrap extends JavaPlugin implements PlatformProvider {
}
@Override
public MetadataStore getMetadataStore() {
return null;
public MetadataStore<MMOEntity<Entity>> getMetadataStore() {
return bukkitMetadataStore;
}
@Override

View File

@ -29,7 +29,7 @@ public class MetadataConstants {
public final static MetadataKey<Boolean> ARROW_TRACKER_METAKEY = new MetadataKey<>("mcMMO: Arrow Tracker");
public final static MetadataKey<Boolean> BONUS_DROPS_METAKEY = new MetadataKey<>("mcMMO: Bonus Drops");
public final static MetadataKey<Boolean> DISARMED_ITEM_METAKEY = new MetadataKey<>("mcMMO: Disarmed Item");
public final static MetadataKey<MMOPlayer> PLAYER_DATA_METAKEY = new MetadataKey<>("mcMMO: Player Data");
public final static MetadataKey<MMOPlayer<?>> PLAYER_DATA_METAKEY = new MetadataKey<>("mcMMO: Player Data");
public final static MetadataKey<Boolean> GREEN_THUMB_METAKEY = new MetadataKey<>("mcMMO: Green Thumb");
public final static MetadataKey<Boolean> DATABASE_PROCESSING_COMMAND_METAKEY = new MetadataKey<>("mcMMO: Processing Database Command");
public final static MetadataKey<Boolean> PETS_ANIMAL_TRACKING_METAKEY = new MetadataKey<>("mcMMO: Pet Animal");