mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-20 19:04:44 -04:00
Remove unused variable
This commit is contained in:
parent
144d3847c0
commit
f5b8457b41
1 changed files with 0 additions and 2 deletions
|
@ -83,8 +83,6 @@ public abstract class MinecraftServerMixin {
|
|||
*/
|
||||
@Inject(at = @At(value = "INVOKE", target = "Lnet/minecraft/server/world/ServerWorld;close()V"), method = "shutdown", locals = LocalCapture.CAPTURE_FAILEXCEPTION)
|
||||
private void closeWorld(CallbackInfo ci, Iterator<ServerWorld> worlds, ServerWorld serverWorld) {
|
||||
final List<Entity> entities = serverWorld.getEntities(null, entity -> true); // Get every single entity in the world
|
||||
|
||||
for (BlockEntity blockEntity : serverWorld.blockEntities) {
|
||||
ServerBlockEntityEvents.BLOCK_ENTITY_UNLOAD.invoker().onUnload(blockEntity, serverWorld);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue