mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-29 08:26:37 +01:00
Fix even more critical crashes, now on schematics
This commit is contained in:
parent
69f4c9f8ad
commit
dadde271e4
2 changed files with 14 additions and 6 deletions
|
@ -311,10 +311,6 @@ public class PonderWorld extends SchematicWorld {
|
|||
return true; // fix particle lighting
|
||||
}
|
||||
|
||||
@Override
|
||||
public void markChunkDirty(BlockPos p_175646_1_, TileEntity p_175646_2_) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPlayerWithin(double p_217358_1_, double p_217358_3_, double p_217358_5_, double p_217358_7_) {
|
||||
return true; // always enable spawner animations
|
||||
|
|
|
@ -10,8 +10,6 @@ import javax.annotation.ParametersAreNonnullByDefault;
|
|||
import mcp.MethodsReturnNonnullByDefault;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.client.multiplayer.ClientChunkProvider;
|
||||
import net.minecraft.client.world.ClientWorld;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.PlayerEntity;
|
||||
import net.minecraft.fluid.Fluid;
|
||||
|
@ -178,4 +176,18 @@ public class WrappedWorld extends World {
|
|||
public float getBrightness(Direction p_230487_1_, boolean p_230487_2_) {
|
||||
return world.getBrightness(p_230487_1_, p_230487_2_);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void markChunkDirty(BlockPos p_175646_1_, TileEntity p_175646_2_) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isBlockLoaded(BlockPos p_175667_1_) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateComparatorOutputLevel(BlockPos p_175666_1_, Block p_175666_2_) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue