fix: empty entity data
This commit is contained in:
1 parent
df28c321ac
commit
1abbc7bfec
169 files changed
+2406
-1438
No files matched your search
@@ -4,7 +4,7 @@ use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use crossbeam::atomic::AtomicCell;
|
||||
|
||||
use crate::entity::player::Player;
|
||||
use crate::entity::{Entity, EntityBase, EntityBaseFuture, NBTStorage, living::LivingEntity};
|
||||
use crate::entity::{Entity, EntityBase, EntityBaseFuture, living::LivingEntity};
|
||||
use crate::server::Server;
|
||||
|
||||
use pumpkin_data::damage::DamageType;
|
||||
@@ -51,8 +51,6 @@ impl BoatEntity {
|
||||
}
|
||||
}
|
||||
|
||||
impl NBTStorage for BoatEntity {}
|
||||
|
||||
impl EntityBase for BoatEntity {
|
||||
fn get_entity(&self) -> &Entity {
|
||||
&self.vehicle.entity
|
||||
@@ -150,11 +148,6 @@ impl EntityBase for BoatEntity {
|
||||
self.set_paddles(left, right);
|
||||
})
|
||||
}
|
||||
|
||||
fn as_nbt_storage(&self) -> &dyn NBTStorage {
|
||||
self
|
||||
}
|
||||
|
||||
fn cast_any(&self) -> &dyn std::any::Any {
|
||||
self
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user