Adventure-Terraria-Server-Project / HouseRegions-Plugin

House Regions plugin for Terraria Server API and TShock.
GNU General Public License v3.0
6 stars 18 forks source link

0 of 1 house defined but it says max already #21

Closed moisterrific closed 3 years ago

moisterrific commented 4 years ago

when I set the config to allow 1 max house per player and then test it in-game, it wouldn't let me define a house and gave the error message "you have reached the max of 1 houses". Then I typed /house and the info message said "you've defined 0 of 1 possible houses so far"

not sure exactly what causes this, but a temp workaround I did is just add a + 1 after maxHouses = Config.MaxHousesPerUser