Fixed formatting error in BukkitEntity.
This commit is contained in:
@@ -55,7 +55,7 @@ class BukkitEntity implements Entity {
|
|||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
<T> T getMetaData(Class<T> metaDataClass) {
|
<T> T getMetaData(Class<T> metaDataClass) {
|
||||||
if (metaDataClass == Tameable.class && getEntity() instanceof org.bukkit.entity.Tameable) {
|
if (metaDataClass == Tameable.class && getEntity() instanceof org.bukkit.entity.Tameable) {
|
||||||
return (T) new TameableAdapter((org.bukkit.entity.Tameable) getEntity());
|
return (T) new TameableAdapter((org.bukkit.entity.Tameable) getEntity());
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user