Adventure-Terraria-Server-Project / Protector-Plugin

Protector plugin for Terraria Server API and TShock.
GNU General Public License v3.0
10 stars 19 forks source link

Occasional error in log #31

Closed SmallSansSerif closed 8 years ago

SmallSansSerif commented 9 years ago

[Protector] Error One DoorUse event handler has thrown an unexpected exception. Exception details: System.IndexOutOfRangeException: Array index is out of range. at Terraria.Plugins.Common.TerrariaTiles.get_Item (Point point) [0x00000] in :0 at Terraria.Plugins.CoderCow.Protector.ProtectionManager+d1a.MoveNext () [0x00000] in :0 at Terraria.Plugins.CoderCow.Protector.ProtectionManager+d1.MoveNext () [0x00000] in :0 at Terraria.Plugins.CoderCow.Protector.ProtectionManager.CheckBlockAccess (TShockAPI.TSPlayer player, Point tileLocation, Boolean fullAccessRequired, Terraria.Plugins.CoderCow.Protector.ProtectionEntry& relatedProtection) [0x00000] in :0 at Terraria.Plugins.CoderCow.Protector.UserInteractionHandler.CheckProtected (TShockAPI.TSPlayer player, Point tileLocation, Boolean fullAccessRequired) [0x00000] in :0 at Terraria.Plugins.CoderCow.Protector.UserInteractionHandler.HandleDoorUse (TShockAPI.TSPlayer player, Point location, Boolean isOpening, Direction direction) [0x00000] in :0 at Terraria.Plugins.CoderCow.Protector.ProtectorPlugin.Net_DoorUse (System.Object sender, Terraria.Plugins.Common.Hooks.DoorUseEventArgs e) [0x00000] in :0 at Terraria.Plugins.Common.Hooks.GetDataHookHandler.OnDoorUse (Terraria.Plugins.Common.Hooks.DoorUseEventArgs e) [0x00000] in :0

CoderCow commented 8 years ago

Can't reproduce. Might already have been fixed by older commits. Reopen if it still occurs.