diff --git a/EntityCulling-Forge/src/main/java/dev/tr7zw/entityculling/CullTask.java b/EntityCulling-Forge/src/main/java/dev/tr7zw/entityculling/CullTask.java index 42aeb24..b09f1f6 100644 --- a/EntityCulling-Forge/src/main/java/dev/tr7zw/entityculling/CullTask.java +++ b/EntityCulling-Forge/src/main/java/dev/tr7zw/entityculling/CullTask.java @@ -55,7 +55,7 @@ public void run() { lastPos.set(cameraMC.x, cameraMC.y, cameraMC.z); Vec3d camera = lastPos; culling.resetCache(); - boolean noCulling = client.player.isSpectator() || client.gameSettings.thirdPersonView != 0; + boolean noCulling = client.gameSettings.thirdPersonView != 0; Iterator iterator = client.world.loadedTileEntityList.iterator(); TileEntity entry; while(iterator.hasNext()) { diff --git a/EntityCulling-Forge/src/main/java/dev/tr7zw/entityculling/EntityCullingMod.java b/EntityCulling-Forge/src/main/java/dev/tr7zw/entityculling/EntityCullingMod.java index dc35892..e285953 100644 --- a/EntityCulling-Forge/src/main/java/dev/tr7zw/entityculling/EntityCullingMod.java +++ b/EntityCulling-Forge/src/main/java/dev/tr7zw/entityculling/EntityCullingMod.java @@ -1,9 +1,5 @@ package dev.tr7zw.entityculling; - -import java.util.Arrays; -import java.util.List; - import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.client.registry.ClientRegistry; import net.minecraftforge.fml.common.Mod; @@ -12,7 +8,6 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.TickEvent.ClientTickEvent; import net.minecraftforge.fml.common.gameevent.TickEvent.WorldTickEvent; -import zone.rong.mixinbooter.IEarlyMixinLoader; @Mod(modid = "entityculling", name = "EntityCulling", version = "@VER@", clientSideOnly = true) public class EntityCullingMod extends EntityCullingModBase {