Adventure-Terraria-Server-Project/Protector-Plugin

unexpected exception... "ChestGetContents"

Closed this issue · 0 comments

[Protector] Error: One ChestGetContents event handler has thrown an unexpected exception. Exception details:
Terraria.Plugins.CoderCow.Protector.ProtectionNotSharedException: A protection is not shared with the given user or group.
at Terraria.Plugins.CoderCow.Protector.ProtectionManager.ProtectionShareUser(TSPlayer player, Point tileLocation, Int32 targetUserId, Boolean shareOrUnshare, Boolean checkPermissions)
at Terraria.Plugins.CoderCow.Protector.UserInteractionHandler.TryAlterProtectionShare(TSPlayer player, Point tileLocation, Boolean isShareOrUnshare, Boolean isGroup, Boolean isShareAll, Object shareTarget, String shareTargetName, Boolean sendFailureMessages)
at Terraria.Plugins.CoderCow.Protector.UserInteractionHandler.<>c__DisplayClass50_0.b__1(TSPlayer playerLocal, Point location)
at Terraria.Plugins.Common.UserInteractionHandlerBase.HandleChestGetContents(TSPlayer player, Point location)
at Terraria.Plugins.CoderCow.Protector.UserInteractionHandler.HandleChestGetContents(TSPlayer player, Point location)
at Terraria.Plugins.CoderCow.Protector.ProtectorPlugin.Net_ChestGetContents(Object sender, TileLocationEventArgs e)
at Terraria.Plugins.Common.Hooks.GetDataHookHandler.OnChestGetContents(TileLocationEventArgs e)


#36 > seems working like intended! :)