Skip to content

Commit

Permalink
Attempt to fix fly kick issue + hellbound fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ellieisjelly committed Jan 31, 2024
1 parent 964c922 commit 41b5748
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/me/ellieis/Sabotage/game/map/SabotageMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ public void spawnEntity(ServerWorld world, ServerPlayerEntity plr) {
TemplateRegion spawn = spawns.get(new Random().nextInt(spawns.size()));
Vec3d pos = spawn.getBounds().centerBottom();
plr.teleport(world, pos.getX(), pos.getY(), pos.getZ(), spawn.getData().getFloat("Rotation"), 0);
plr.setOnGround(true);
plr.setVelocity(0,0,0);
this.playerSpawnPos.put(new PlayerRef(plr.getUuid()), pos);
}

Expand Down
Binary file modified src/main/resources/data/sabotage/map_templates/hellbound.nbt
Binary file not shown.

0 comments on commit 41b5748

Please sign in to comment.