mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 13:05:30 +02:00
Use the same MetadataValue for both of these
This commit is contained in:
@@ -90,12 +90,9 @@ public class mcMMO extends JavaPlugin {
|
||||
// XP Event Check
|
||||
private boolean xpEventEnabled = false;
|
||||
|
||||
// Entity Metadata Values
|
||||
public static FixedMetadataValue entityMetadata;
|
||||
// Metadata Values
|
||||
public static FixedMetadataValue metadataValue;
|
||||
public final static String entityMetadataKey = "mcMMO: Spawned Entity";
|
||||
|
||||
// Block Metadata Values
|
||||
public static FixedMetadataValue blockMetadata;
|
||||
public final static String blockMetadataKey = "mcMMO: Piston Tracking";
|
||||
|
||||
/**
|
||||
@@ -106,8 +103,7 @@ public class mcMMO extends JavaPlugin {
|
||||
try {
|
||||
p = this;
|
||||
getLogger().setFilter(new LogFilter(this));
|
||||
entityMetadata = new FixedMetadataValue(this, true);
|
||||
blockMetadata = new FixedMetadataValue(this, true);
|
||||
metadataValue = new FixedMetadataValue(this, true);
|
||||
|
||||
setupFilePaths();
|
||||
setupSpout();
|
||||
|
Reference in New Issue
Block a user