Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.43k stars 381 forks source link

Cannot biome swap campfires when joining with 'Biome torch swap off' #3024

Open ViktorYu234 opened 8 months ago

ViktorYu234 commented 8 months ago

[OTAPI] Starting up (OTAPI PC Server,3.1.20,a82d3e8,ModFw:1.1.7). TerrariaAPI Version: 2.1.0.0 (Protocol v1.4.4.9 (279), OTAPI 1.4.4.9) [Server API] Info Plugin TShock v5.2.0.0 (by The TShock Team) initiated. Terraria Server v1.4.4.9

  1. Join a server with 'Biome torch swap' turned off before joining
  2. Turn your 'Biome torch swap' on
  3. Try to place a campfire in jungle biome or any other biome
  4. Your campfire disappears

Log - "Bouncer / OnPlaceObject rejected object placement with invalid style 13 (expected 0) from {PlayerName}"

This bug only works if you already join with your 'Biome torch swap' off, if you enable it before joining then the campfire will be placed as usual.

ghost commented 7 months ago

Alright, I verified the problem but it seems rare on my side, it might be due to it being a mobile device but the fact that this is also a Terraria Server problem1 I am planning on contacting ReLogic on the Terraria Forums on this issue once I can verify it is not rare on each platform.

1: According to my tests.