Add EntityBlockStorage#clearEntities()

This commit is contained in:
Owen1212055
2021-04-05 18:12:29 -04:00
parent 2329a7b1c8
commit f24aec2051
2 changed files with 33 additions and 14 deletions

View File

@@ -95,4 +95,11 @@ public class CraftBeehive extends CraftBlockEntityState<BeehiveBlockEntity> impl
public CraftBeehive copy(Location location) {
return new CraftBeehive(this, location);
}
// Paper start - Add EntityBlockStorage clearEntities
@Override
public void clearEntities() {
getSnapshot().clearBees();
}
// Paper end
}