#11 MythicMobs hook seems to be broken

已關閉
MasterCake6 年之前創建 · 0 條評論

Hey, I'm running the latest version of SafariNet and I'm running a Spigot 1.13.2 server the issue I'm experiencing is that whenever anyone tries to capture any sort of mob it always says that the ball is broken.

Console output:

13.11 21:22:40 [Server] ERROR Could not pass event PlayerInteractEntityEvent to SafariNet v1.13.30-SNAPSHOT
13.11 21:22:40 [Server] INFO org.bukkit.event.EventException: null
13.11 21:22:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1828) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:69) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:13) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171]
13.11 21:22:40 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_171]
13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
13.11 21:22:40 [Server] INFO Caused by: java.lang.NullPointerException
13.11 21:22:40 [Server] INFO at de.Linus122.SafariNet.Hooks.HookMythicMobs.cantCatch(HookMythicMobs.java:18) ~[?:?]
13.11 21:22:40 [Server] INFO at de.Linus122.SafariNet.Listeners.CaptureListener.interact(CaptureListener.java:105) ~[?:?]
13.11 21:22:40 [Server] INFO at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source) ~[?:?]
13.11 21:22:40 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171]
13.11 21:22:40 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
13.11 21:22:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9]
13.11 21:22:40 [Server] INFO ... 15 more

Config:

# grief prevention support, blocks releasing and capturing of any mob in claims if set to true.
block-release-and-capture-on-claims: false
# Item with this displayname would turn in a safarinet. Nice to use in Essentials-kit.
pseudo-item:
 enabled: false
 single-use-display: "&cSingleuse"
 reusable-display: "&cReusable"
# Blacklisted mobs can not be caught
blacklist:
- PLAYER
- ENDERDRAGON
can-catch-tamed-mobs: true
disable-mythicmobs: true
play_sound_on_capture: true
sound_on_capture:
  sound: SLIME_WALK
  volume: 1.00
  pitch: 1.00
play_sound_on_spawn: true
sound_on_spawn:
  sound: SLIME_WALK
  volume: 1.00
  pitch: 1.00
# Activate this to only allow certain mobs for player. Example permission: safarinet.catch.pig AND safarinet.release.pig
per-mob-permissions: false
use-permission-for-crafting: true
single-use:
  display-name: "&ePokeball (Single-Use)"
  lore: "Right click on an entity%to catch it!"
  recipe:
    enabled: true
    line1: "aaa"
    line2: "aba"
    line3: "aaa"
    ingredients:
    - "a:STRING"
    - "b:ENDER_PEARL"
reusable:
  display-name: "&ePokeball (Reusable)"
  lore: "Right click on an entity%to catch it!"
  recipe:
    enabled: true
    line1: "aaa"
    line2: "aba"
    line3: "aaa"
    ingredients:
    - "a:STRING"
    - "b:EYE_OF_ENDER"

source: https://www.spigotmc.org/threads/safarinet-capture-mobs-using-pok%C3%A9balls-paid.79302/page-20

Hey, I'm running the latest version of SafariNet and I'm running a Spigot 1.13.2 server the issue I'm experiencing is that whenever anyone tries to capture any sort of mob it always says that the ball is broken. Console output: ``` 13.11 21:22:40 [Server] ERROR Could not pass event PlayerInteractEntityEvent to SafariNet v1.13.30-SNAPSHOT 13.11 21:22:40 [Server] INFO org.bukkit.event.EventException: null 13.11 21:22:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1828) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:69) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.PacketPlayInUseEntity.a(SourceFile:13) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171] 13.11 21:22:40 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_171] 13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171] 13.11 21:22:40 [Server] INFO Caused by: java.lang.NullPointerException 13.11 21:22:40 [Server] INFO at de.Linus122.SafariNet.Hooks.HookMythicMobs.cantCatch(HookMythicMobs.java:18) ~[?:?] 13.11 21:22:40 [Server] INFO at de.Linus122.SafariNet.Listeners.CaptureListener.interact(CaptureListener.java:105) ~[?:?] 13.11 21:22:40 [Server] INFO at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source) ~[?:?] 13.11 21:22:40 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_171] 13.11 21:22:40 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171] 13.11 21:22:40 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[Spigot_1.13.2_1.jar:git-Spigot-a1ba5fe-b4230a9] 13.11 21:22:40 [Server] INFO ... 15 more ``` Config: ```yml # grief prevention support, blocks releasing and capturing of any mob in claims if set to true. block-release-and-capture-on-claims: false # Item with this displayname would turn in a safarinet. Nice to use in Essentials-kit. pseudo-item: enabled: false single-use-display: "&cSingleuse" reusable-display: "&cReusable" # Blacklisted mobs can not be caught blacklist: - PLAYER - ENDERDRAGON can-catch-tamed-mobs: true disable-mythicmobs: true play_sound_on_capture: true sound_on_capture: sound: SLIME_WALK volume: 1.00 pitch: 1.00 play_sound_on_spawn: true sound_on_spawn: sound: SLIME_WALK volume: 1.00 pitch: 1.00 # Activate this to only allow certain mobs for player. Example permission: safarinet.catch.pig AND safarinet.release.pig per-mob-permissions: false use-permission-for-crafting: true single-use: display-name: "&ePokeball (Single-Use)" lore: "Right click on an entity%to catch it!" recipe: enabled: true line1: "aaa" line2: "aba" line3: "aaa" ingredients: - "a:STRING" - "b:ENDER_PEARL" reusable: display-name: "&ePokeball (Reusable)" lore: "Right click on an entity%to catch it!" recipe: enabled: true line1: "aaa" line2: "aba" line3: "aaa" ingredients: - "a:STRING" - "b:EYE_OF_ENDER" ``` source: https://www.spigotmc.org/threads/safarinet-capture-mobs-using-pok%C3%A9balls-paid.79302/page-20
Sign in to join this conversation.
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容