Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 11:00:05 +01:00
Fixed formatting error in BukkitEntity.
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren