(Probably) a WorldGuard error.

Report any bugs found in Herobrine
Post Reply
xCustomWorld
Posts: 2
Joined: Fri Jan 03, 2020 7:26 am

(Probably) a WorldGuard error.

Post by xCustomWorld »

Code: Select all

org.bukkit.command.CommandException: Unhandled exception executing command 'herobrine' in plugin Herobrine v2.0.1
	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.15.1.jar:git-Paper-32]
	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.15.1.jar:git-Paper-32]
	at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:740) ~[patched_1.15.1.jar:git-Paper-32]
	at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchServerCommand(CraftServer.java:702) ~[patched_1.15.1.jar:git-Paper-32]
	at net.minecraft.server.v1_15_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:456) ~[patched_1.15.1.jar:git-Paper-32]
	at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:418) ~[patched_1.15.1.jar:git-Paper-32]
	at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1106) ~[patched_1.15.1.jar:git-Paper-32]
	at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:933) ~[patched_1.15.1.jar:git-Paper-32]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.lang.NullPointerException
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770) ~[patched_1.15.1.jar:git-Paper-32]
	at com.sk89q.worldedit.util.Location.<init>(Location.java:129) ~[?:?]
	at com.sk89q.worldedit.util.Location.<init>(Location.java:64) ~[?:?]
	at net.theprogrammersworld.herobrine.support.WorldGuardHook.isSecuredArea(WorldGuardHook.java:21) ~[?:?]
	at net.theprogrammersworld.herobrine.Support.isSecuredArea(Support.java:110) ~[?:?]
	at net.theprogrammersworld.herobrine.Support.checkHaunt(Support.java:129) ~[?:?]
	at net.theprogrammersworld.herobrine.commands.CmdHaunt.execute(CmdHaunt.java:35) ~[?:?]
	at net.theprogrammersworld.herobrine.commands.CmdExecutor.onCommand(CmdExecutor.java:106) ~[?:?]
	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.15.1.jar:git-Paper-32]
	... 8 more

This error happens everytime I use any Herobrine command where WorldGuard checks are used. I'm using GriefDefender 1.2.3 with WE 7.1.0-BETA and WG 7.0.1. Looks like the plugin is either not adapted to WG or GriefDefender. GriefDefender is plugin that basically combines GriefPrevention and WG into a new, better plugin (https://www.spigotmc.org/resources/griefdefender.68900/).

I'm using PaperSpigot build 32 for MC 1.15.1, downloaded from https://papermc.io/downloads

My config.yml:

Code: Select all

config:
  ShowInterval: 144000
  ShowRate: 2
  HitPlayer: true
  SendMessages: false
  Lightning: false
  DestroyTorches: true
  DestroyTorchesRadius: 5
  Worlds:
  - Survival
  TotemExplodes: true
  OnlyWalkingMode: false
  BuildStuff: true
  PlaceSigns: true
  UseTotem: true
  WriteBooks: true
  Killable: false
  UsePotionEffects: true
  CaveChance: 40
  BookChance: 5
  SignChance: 5
  DeathMessage: 
  Messages:
  - Hælp
  - ...
  - Hi
  - are u ready‽
  - im waiting...
  SignMessages:
  - dont look behind
  - ...
  - death
  BookMessages:
  - are you sure?
  - you cant escape...
  - ...
  Drops:
    DIAMOND:
      count: 1
      chance: 20
  BuildPyramids: true
  BuildPyramidOnChunkPercentage: 5
  UseGraveyardWorld: false
  BuryPlayers: true
  SpawnWolves: true
  SpawnBats: true
  UseWalkingMode: true
  WalkingModeRadius:
    X: 5000
    Z: 5000
    FromX: 0
    FromZ: 0
  BuildInterval: 72000
  BuildTemples: false
  BuildTempleOnChunkPercentage: 5
  UseArtifacts:
    Bow: false
    Sword: false
    Apple: false
  HerobrineHP: 300
  AttackCreative: true
  AttackOP: true
  SecuredArea:
    Build: false
    Attack: false
    Haunt: false
    Signs: falss
    Books: false
  UseHeads: true
  UseAncientSword: false
  UseNPC:
    Guardian: true
    Warrior: true
    Demon: true
  SpawnDemonsOnPlayerBedEnter: true
  ItemInHand: AIR
  Explosions: true
  Burn: true
  Curse: true
  Limit:
    Books: 1
    Signs: 1
    Heads: 1
  UseIgnorePermission: true
  HerobrineUUID: 0000000-6660-abdc-0666-00000000000
  HerobrineName: Herobrine
  HerobrineWorldName: graveyard
  ShowInTabList: false
  CheckForUpdates: true


If you need more details, I'm able to provide them. I know you are fixing just critical bug because of lack of your spare time, but this seems critical enough, as it makes Herobribe at my server unusable. I don't know if there is a problem on your side or on my side, but I'd be happy with every assistance to get this bug fixed. Thank you.
User avatar
David B
Site Admin
Posts: 194
Joined: Mon Aug 07, 2017 11:19 pm

Re: (Probably) a WorldGuard error.

Post by David B »

I am very confident that this issue has to do with your use of a modified WorldGuard version, as the original WorldGuard works just fine in my testing. I would recommend using that version instead. I would have tried to add support for this plugin, but unfortunately, it is not a free plugin and therefore, I am unwilling to do so.
User avatar
David B
Site Admin
Posts: 194
Joined: Mon Aug 07, 2017 11:19 pm

Re: (Probably) a WorldGuard error.

Post by David B »

Hello xCustomWorld,

When Herobrine v2.0.2 comes out, you may want to try it, as I believe it may solve the problem you were having.

Thank you,
David
xCustomWorld
Posts: 2
Joined: Fri Jan 03, 2020 7:26 am

Re: (Probably) a WorldGuard error.

Post by xCustomWorld »

Thank you, it works now.
User avatar
David B
Site Admin
Posts: 194
Joined: Mon Aug 07, 2017 11:19 pm

Re: (Probably) a WorldGuard error.

Post by David B »

xCustomWorld wrote: Sun Jan 05, 2020 9:18 am Thank you, it works now.
You're welcome! Thanks for verifying that for me.
Post Reply