Error on new player joining server (vault-towny)
LlmDl opened this issue ยท 2 comments
Hi Sleaker,
Had an admin dropped into #towny and give us this: http://pastie.org/3320465
Vault is looking for the player's town, though he doesn't have one yet, causing the error. Not a biggie since it only affects new players that join a server with no default town set up.
Admin was using Towny 0.79.0.0, Vault 1.2.8-b87 and CB 1.1-R3
Edit: After further chatting the admin told me he was not granting any Towny perm nodes to his default group, including towny.town.resident, which is required for players to exist in towny's data files. Players with towny.town.resident don't cause the error.
This is an NPE in Towny.
Caused by: java.lang.NullPointerException
at com.palmergames.bukkit.towny.db.TownyDatabaseHandler.getTown(TownyDatabaseHandler.java:113)
at com.palmergames.bukkit.towny.object.TownyUniverse.getTown(TownyUniverse.java:1131)
I can't fix this as it's happening two methods deep in Towny.
EDIT: Probably a HeroChat issue actually.