diff options
author | chililisoup <rebot333gaming@gmail.com> | 2025-03-21 13:03:17 -0600 |
---|---|---|
committer | chililisoup <rebot333gaming@gmail.com> | 2025-03-21 13:03:17 -0600 |
commit | 2ec777696c19573a6b8bd90f57d8a2d1b80d518a (patch) | |
tree | 653a709fc1e7cffa78ecd8aa621a724c41554912 /source/game/StarWorldServer.cpp | |
parent | 3130381b1c23e42af6fc14e9de951638f5c275b1 (diff) |
Block swap networking fixes
Diffstat (limited to 'source/game/StarWorldServer.cpp')
-rw-r--r-- | source/game/StarWorldServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarWorldServer.cpp b/source/game/StarWorldServer.cpp index 830a6ca..93d6e80 100644 --- a/source/game/StarWorldServer.cpp +++ b/source/game/StarWorldServer.cpp @@ -884,7 +884,7 @@ bool WorldServer::replaceTile(Vec2I const& pos, TileModification const& modifica if (isTileProtected(pos)) return false; - if (!WorldImpl::validateTileReplacement(pos, modification)) + if (!WorldImpl::validateTileReplacement(modification)) return false; if (auto placeMaterial = modification.ptr<PlaceMaterial>()) { |