diff --git a/gradle.properties b/gradle.properties index 85f36de68..4353e16eb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # Mod properties -mod_version=1.89.0 +mod_version=1.89.1 # Minecraft properties (update mods.toml when changing) mc_version=1.14.4 diff --git a/src/main/java/dan200/computercraft/client/render/TileEntityMonitorRenderer.java b/src/main/java/dan200/computercraft/client/render/TileEntityMonitorRenderer.java index 1e2d9fedc..816b37e63 100644 --- a/src/main/java/dan200/computercraft/client/render/TileEntityMonitorRenderer.java +++ b/src/main/java/dan200/computercraft/client/render/TileEntityMonitorRenderer.java @@ -169,7 +169,7 @@ private static void renderTerminal( ClientMonitor monitor, float xMargin, float } ByteBuffer monitorBuffer = tboContents; - monitorBuffer.position( 0 ); + monitorBuffer.clear(); for( int y = 0; y < height; y++ ) { TextBuffer text = terminal.getLine( y ), textColour = terminal.getTextColourLine( y ), background = terminal.getBackgroundColourLine( y ); diff --git a/src/main/resources/data/computercraft/lua/rom/help/changelog.txt b/src/main/resources/data/computercraft/lua/rom/help/changelog.txt index 4ec707c88..81fcebce0 100644 --- a/src/main/resources/data/computercraft/lua/rom/help/changelog.txt +++ b/src/main/resources/data/computercraft/lua/rom/help/changelog.txt @@ -1,3 +1,7 @@ +# New features in CC: Tweaked 1.89.1 + +* Fix crashes when rendering monitors of varying sizes. + # New features in CC: Tweaked 1.89.0 * Compress monitor data, reducing network traffic by a significant amount. diff --git a/src/main/resources/data/computercraft/lua/rom/help/whatsnew.txt b/src/main/resources/data/computercraft/lua/rom/help/whatsnew.txt index e5591fe97..ddb0a9fe9 100644 --- a/src/main/resources/data/computercraft/lua/rom/help/whatsnew.txt +++ b/src/main/resources/data/computercraft/lua/rom/help/whatsnew.txt @@ -1,11 +1,5 @@ -New features in CC: Tweaked 1.89.0 +New features in CC: Tweaked 1.89.1 -* Compress monitor data, reducing network traffic by a significant amount. -* Allow limiting the bandwidth monitor updates use. -* Several optimisations to monitor rendering (@Lignum). -* Expose block and item tags to turtle.inspect and turtle.getItemDetail. - -And several bug fixes: -* Fix settings.load failing on defined settings. +* Fix crashes when rendering monitors of varying sizes. Type "help changelog" to see the full version history.