mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-28 16:06:48 +01:00
Change from jetbrains @NotNull to javax @Nonnull annotation in PlacementSimulationWorld
This commit is contained in:
parent
6938bc2e06
commit
11e6c3f45a
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ import net.minecraft.world.level.chunk.ChunkAccess;
|
||||||
import net.minecraft.world.level.chunk.LevelChunk;
|
import net.minecraft.world.level.chunk.LevelChunk;
|
||||||
import net.minecraft.world.level.lighting.LevelLightEngine;
|
import net.minecraft.world.level.lighting.LevelLightEngine;
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
public class PlacementSimulationWorld extends WrappedWorld implements FlywheelWorld {
|
public class PlacementSimulationWorld extends WrappedWorld implements FlywheelWorld {
|
||||||
public Map<BlockPos, BlockState> blocksAdded;
|
public Map<BlockPos, BlockState> blocksAdded;
|
||||||
|
@ -39,7 +39,7 @@ public class PlacementSimulationWorld extends WrappedWorld implements FlywheelWo
|
||||||
this(wrapped, c, new WrappedChunkProvider());
|
this(wrapped, c, new WrappedChunkProvider());
|
||||||
}
|
}
|
||||||
|
|
||||||
public PlacementSimulationWorld(Level wrapped, @NotNull Contraption c, WrappedChunkProvider chunkProvider) {
|
public PlacementSimulationWorld(Level wrapped, @Nonnull Contraption c, WrappedChunkProvider chunkProvider) {
|
||||||
super(wrapped, chunkProvider);
|
super(wrapped, chunkProvider);
|
||||||
contraption = c;
|
contraption = c;
|
||||||
this.chunkProvider = chunkProvider.setPlacementWorld(this);
|
this.chunkProvider = chunkProvider.setPlacementWorld(this);
|
||||||
|
|
Loading…
Reference in a new issue