Change from jetbrains @NotNull to javax @Nonnull annotation in PlacementSimulationWorld

This commit is contained in:
Aeiou 2021-12-19 17:17:17 -05:00
parent 6938bc2e06
commit 11e6c3f45a

View file

@ -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);