More var name fixes
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
void setRemoved(Entity.RemovalReason removalReason);
|
||||
|
||||
+ // CraftBukkit start - add Bukkit remove cause
|
||||
+ default void setRemoved(Entity.RemovalReason entity_removalreason, org.bukkit.event.entity.EntityRemoveEvent.Cause cause) {
|
||||
+ this.setRemoved(entity_removalreason);
|
||||
+ default void setRemoved(Entity.RemovalReason removalReason, org.bukkit.event.entity.EntityRemoveEvent.Cause eventCause) {
|
||||
+ this.setRemoved(removalReason);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
}
|
||||
|
||||
+ // CraftBukkit start - add method to get all entities in chunk
|
||||
+ public List<Entity> getEntities(ChunkPos chunkCoordIntPair) {
|
||||
+ return this.sectionStorage.getExistingSectionsInChunk(chunkCoordIntPair.toLong()).flatMap(EntitySection::getEntities).map(entity -> (Entity) entity).collect(Collectors.toList());
|
||||
+ public List<Entity> getEntities(ChunkPos chunkPos) {
|
||||
+ return this.sectionStorage.getExistingSectionsInChunk(chunkPos.toLong()).flatMap(EntitySection::getEntities).map(entity -> (Entity) entity).collect(Collectors.toList());
|
||||
+ }
|
||||
+
|
||||
+ public boolean isPending(long pair) {
|
||||
|
||||
Reference in New Issue
Block a user