Skip to content

Commit

Permalink
Fix explosion mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
DrexHD committed Sep 29, 2024
1 parent 17ea042 commit 5ccc758
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.registry.Registries;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraft.world.explosion.ExplosionImpl;
import org.jetbrains.annotations.Nullable;
import org.spongepowered.asm.mixin.Final;
Expand All @@ -26,7 +26,7 @@
public abstract class ExplosionImplMixin {
@Shadow
@Final
private World world;
private ServerWorld world;

@Shadow
public abstract @Nullable LivingEntity getCausingEntity();
Expand Down

0 comments on commit 5ccc758

Please sign in to comment.