Skip to content

Commit

Permalink
Update minigame to Minecraft 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
haykam821 committed Jul 29, 2023
1 parent 7ce4458 commit 35d023b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "fabric-loom" version "1.2.7"
id "fabric-loom" version "1.3.8"
id "maven-publish"
}

Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ mod_version = 1.0.0
org.gradle.jvmargs = -Xmx1G

# Versions
minecraft_version = 1.19.4
yarn_mappings = 1.19.4+build.1
loader_version = 0.14.17
fabric_version = 0.76.0+1.19.4
minecraft_version = 1.20.1
yarn_mappings = 1.20.1+build.10
loader_version = 0.14.21
fabric_version = 0.86.1+1.20.1

plasmid_version = 0.5+1.19.4-SNAPSHOT
plasmid_version = 0.5.100+1.20.1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private void placeFlower(ServerWorld world, BlockPos pos) {
@Override
public ActionResult onKilledPlayer(PlayerEntry entry, DamageSource source) {
if (entry.getPlayer().isOnGround()) {
this.placeFlower(entry.getPlayer().getWorld(), entry.getPlayer().getBlockPos());
this.placeFlower(entry.getPlayer().getServerWorld(), entry.getPlayer().getBlockPos());
}
return ActionResult.PASS;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void tick() {
}

private void tickTrail() {
ServerWorld world = this.player.getWorld();
ServerWorld world = this.player.getServerWorld();

BlockPos.Mutable pos = new BlockPos.Mutable(0, Math.floor(this.player.getY()), 0);
for (int corner = 0; corner < 4; corner++) {
Expand Down

0 comments on commit 35d023b

Please sign in to comment.