Update Forge, fix deprecations

This commit is contained in:
raoulvdberge
2019-11-17 21:34:38 +01:00
parent b485c74503
commit 030482a266
3 changed files with 3 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ public class ExternalStorageBlock extends CableBlock {
}
@Override
@SuppressWarnings("deprecation")
public void neighborChanged(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean isMoving) {
super.neighborChanged(state, world, pos, block, fromPos, isMoving);

View File

@@ -15,6 +15,7 @@ import org.lwjgl.opengl.GL11;
public class StorageMonitorTileRenderer extends TileEntityRenderer<StorageMonitorTile> {
@Override
@SuppressWarnings("deprecation")
public void render(StorageMonitorTile tile, double x, double y, double z, float partialTicks, int destroyStage) {
setLightmapDisabled(true);