Skip to content

Commit

Permalink
Update for 2.14.1-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacetech committed Dec 18, 2024
1 parent 2a2e202 commit 0a60a9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"watch": "npx tsc --build --watch --pretty --preserveWatchOutput"
},
"devDependencies": {
"@wayward/types": "^2.14.0-beta",
"@wayward/types": "^2.14.1-beta",
"rimraf": "3.0.2",
"typescript": "^5.7.2"
}
Expand Down
4 changes: 2 additions & 2 deletions src/StarterQuest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,10 @@ export default class StarterQuest extends Mod {

// Spawn a starting pond
if (!isLoadingSave && (!multiplayer.isConnected || multiplayer.isServer) && localIsland.biomeType === BiomeType.Coastal) {
for (let x = 9; x < 50; x++) {
for (let x = 11; x < 50; x++) {
const tile = localIsland.getTile(localPlayer.x + x, localPlayer.y - 2, localPlayer.z);
if (!tile?.description?.shallowWater && !tile?.description?.water) {
MapGenHelpers.spawnTemplate(localIsland, TileTemplateType.Pond, localPlayer.x + x, localPlayer.y - 2, localPlayer.z, { which: "smallPond" });
MapGenHelpers.spawnTemplate(localIsland, TileTemplateType.Pond, localPlayer.x + x, localPlayer.y - 3, localPlayer.z, { which: "smallPond" });
localPlayer.updateView(RenderSource.Mod, true);
break;
}
Expand Down

0 comments on commit 0a60a9e

Please sign in to comment.