tastybento / ASkyBlock-Bugs-N-Features

Bug Tracker for ASkyBlock and AcidIsland - note team is 100% working on next version BentoBox
6 stars 3 forks source link

Errors when not in AcidIsland world #869

Closed Chambe5r closed 6 years ago

Chambe5r commented 6 years ago

Thank you for filing a bug report. Please complete these sections to help speed resolution.

Server version? Remember to say if it is Spigot/Bukkit/Paper etc. Spigot-1.12.2

Plugin version: AcidIsland 3.0.9.1

Is this a new install or upgrade from earlier plugin version? If upgrade, what version did you use before? New install

(Optional) What other plugins are you using now? (do /plugins and paste text from the console log here) Plugins (56): LetterHeads, PlaceholderAPI, TuxTwoLib, PlugMan, NametagEdit, SuperTrails, ViaVersion, MysterySpawners, CoreProtect, MultiInv, NBTEditor, ClearLag, Elevator, MessageAnnouncer, BuycraftX, FakeMessager, Votifier, ProtocolLib, MVdWPlaceholderAPI, FastAsyncWorldEdit, DeluxeMenus, PermissionsEx, NoWeather, FeatherBoard, ActionAnnouncer, ServerListPlus, Vault, ProVotes, FastAsyncVoxelSniper, AAC, ASkyBlock, ChatItem, VoxelSniper, PlayerVaults, GuiBalance, WorldEdit, Essentials, AcidIsland, LiteBans, Multiverse-Core, Citizens, AdvancedOreGen, CrazyAuctions, EssentialsChat, HolographicDisplays, WorldGuard, CommandNPC, EssentialsSpawn, KitsCreator, TitleManager, ChatControl, CrateReloaded, SilkSpawners, StackMob, NoFlyZone, ShopGUIPlus

Description of issue. What happened?AcidIsland will spam mad muhfukn errors to Console when a player is not in the AcidIsland world.

[05:47:14 ERROR]: Could not pass event EntityDamageByBlockEvent to AcidIsland v3.0.9.1 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:93) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:507) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleNonLivingEntityDamageEvent(CraftEventFactory.java:631) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleNonLivingEntityDamageEvent(CraftEventFactory.java:617) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.EntityItem.damageEntity(EntityItem.java:256) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.BlockCactus.a(BlockCactus.java:94) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.Entity.checkBlockCollisions(Entity.java:961) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.Entity.move(Entity.java:542) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12R1.EntityItem.B(EntityItem.java:86) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.World.entityJoinedWorld(World.java:1631) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.World.h(World.java:1601) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.World.tickEntities(World.java:1435) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.WorldServer.tickEntities(WorldServer.java:668) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:817) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151] Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_12_R1.entity.CraftItem cannot be cast to org.bukkit.entity.Player at com.wasteofplastic.acidisland.listeners.PlayerEvents.onVisitorGetDamage(PlayerEvents.java:929) ~[acidisland.jar:?] at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.2.jar:git-Spigot-642f6d2-fbe3046] ... 21 more

What do you think should happen? Not that.

tastybento commented 6 years ago

Sorry, fixed in 3.0.9.2.