Skip to content

Commit

Permalink
Update changelog and version
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Jul 30, 2021
1 parent 4e13b2e commit 82699dc
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
12 changes: 12 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
------------------------------------------------------
Version 0.4.1
------------------------------------------------------
**Fixes**
- Fixed instant crash when a player went below zero in a world with customized height limits
- Somewhat fixed pathfinding outside of default height limits

------------------------------------------------------
Version 0.4.0
------------------------------------------------------
Updated to Minecraft 1.17

------------------------------------------------------
Version 0.3.7
------------------------------------------------------
Expand Down
14 changes: 7 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
# along with Baritone. If not, see <https://www.gnu.org/licenses/>.
#
mod_name = Automatone
mod_version = 0.4.0
mod_version = 0.4.1
maven_group = io.github.ladysnake

minecraft_version=1.17-pre1
yarn_mappings=1.17-pre1+build.1
loader_version=0.11.3
fabric_version = 0.34.8+1.17
cca_version = 3.0.0-nightly.1.17-pre1
reach_version = 2.0.2
minecraft_version=1.17.1
yarn_mappings=1.17.1+build.10
loader_version=0.11.6
fabric_version = 0.37.0+1.17
cca_version = 3.1.1
reach_version = 2.1.1

changelog_url = https://github.com/Ladysnake/Automatone/blob/main/changelog.md
4 changes: 2 additions & 2 deletions src/main/java/baritone/AutomatoneClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void onInitializeClient() {
WorldRenderEvents.BEFORE_DEBUG_RENDER.register(AutomatoneClient::onRenderPass);
ClientPlayNetworking.registerGlobalReceiver(ClickCommand.OPEN_CLICK_SCREEN, (client, handler, buf, responseSender) -> {
UUID uuid = buf.readUuid();
client.execute(() -> MinecraftClient.getInstance().openScreen(new GuiClick(uuid)));
client.execute(() -> MinecraftClient.getInstance().setScreen(new GuiClick(uuid)));
});
ClientPlayNetworking.registerGlobalReceiver(FakePlayers.SPAWN_PACKET_ID, (client, handler, buf, responseSender) -> {
int id = buf.readVarInt();
Expand Down Expand Up @@ -120,7 +120,7 @@ private <P extends PlayerEntity & AutomatoneFakePlayer> void spawnPlayer(int id,
assert world != null;
@SuppressWarnings("unchecked") EntityType<P> playerType = (EntityType<P>) entityTypeId;
P other = FakeClientPlayerEntity.createClientFakePlayer(playerType, world, new GameProfile(uuid, name));
other.setEntityId(id);
other.setId(id);
other.setPosition(x, y, z);
other.updateTrackedPosition(x, y, z);
other.bodyYaw = headYaw;
Expand Down

0 comments on commit 82699dc

Please sign in to comment.