Exiled-Team / DiscordIntegration

GNU General Public License v3.0
13 stars 37 forks source link

[BUG] Idk #139

Closed IntelBoyGames closed 1 year ago

IntelBoyGames commented 1 year ago

Describe the bug After installing the plugin, an error appeared (it is below) and when using commands on the human server, it kicks

To Reproduce Steps to reproduce the behavior: 1.start server on your port 2.see error

Expected behavior No error and normal DI operation

EXILED Version 6.0.0 beta 25

**Total number of plugins: 7 Enabled plugins: 7 Disabled plugins: 0

                             Exiled.Events:
                                    - Author: Exiled Team
                                    - Version: 6.0.0.0
                                    - Required Exiled Version: 6.0.0.0
                                    - Prefix: exiled_events
                                    - Priority: Highest
                             Admin Tools:
                                    - Author: Originally by Joker119. Modifications by KoukoCocoa & Thomasjosif
                                    - Version: 6.0.0.0
                                    - Required Exiled Version: 6.0.0
                                    - Prefix: AT
                                    - Priority: Medium
                             Exiled.CreditTags:
                                    - Author: Babyboucher20 & iRebbok & Exiled Team
                                    - Version: 6.0.0.0
                                    - Required Exiled Version: 6.0.0.0
                                    - Prefix: exiled_credits
                                    - Priority: Medium
                             Exiled.Permissions:
                                    - Author: Exiled Team
                                    - Version: 6.0.0.0
                                    - Required Exiled Version: 6.0.0.0
                                    - Prefix: exiled_permissions
                                    - Priority: Medium
                             Exiled.CustomItems:
                                    - Author: Exiled Team
                                    - Version: 6.0.0.0
                                    - Required Exiled Version: 6.0.0.0
                                    - Prefix: exiled_custom_items

Additional context [Error] [PluginAPI] Failed loading plugin Exiled Loader, System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at DiscordIntegration.Patches.ErrorLoggingPatch.LogError (System.Object message) [0x00032] in <36a262cd46fd41ecbd7783e4441651e3>:0 at (wrapper dynamic-method) Exiled.API.Features.Log.Exiled.API.Features.Log.Error_Patch0(string) at Exiled.Loader.Loader.EnablePlugins () [0x000cd] in <887520df058240debb217ada9dac1317>:0 at Exiled.Loader.Loader.Run (System.Reflection.Assembly[] dependencies) [0x0005a] in <887520df058240debb217ada9dac1317>:0 at Exiled.Loader.LoaderPlugin.Enable () [0x000fd] in <887520df058240debb217ada9dac1317>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <9577ac7a62ef43179789031239ba8798>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <9577ac7a62ef43179789031239ba8798>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 at PluginAPI.Core.PluginHandler.Load () [0x0002b] in <8eb2b959a7ee45a88abe21e98f866aab>:0