mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-10 17:57:37 +00:00
Fixed formatting error in BukkitEntity.
This commit is contained in:
parent
b0d050451a
commit
c9612c05a7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user