QualityArmory - WorldGuard Addon icon

QualityArmory - WorldGuard Addon -----

Add WorldGuard flag to use guns in regions.




Version: 1.1.1
The plugin will allow the enabling/disabling of the firing of weapons in a protected region, but not the ability to actually shoot other players in a region. You cannot do any action with a weapon when pointed towards another player in a defined region.

Version: 1.1.1
[05:24:26 WARN]: [QualityArmory] Task #5017460 for QualityArmory v2.0.5.1 generated an exception
java.lang.ClassCastException: class java.util.Optional cannot be cast to class me.zombie_striker.qg.hooks.protection.worldguard.flag.WrappedState (java.util.Optional is in module java.base of loader 'bootstrap'; me.zombie_striker.qg.hooks.protection.worldguard.flag.WrappedState is in unnamed module of loader 'QualityArmory (3).jar' @29ebbdf4)
at me.zombie_striker.qg.hooks.protection.implementation.WorldGuardHook.canPvp(WorldGuardHook.java:39) ~[QualityArmory (3).jar:?]
at me.zombie_striker.qg.hooks.protection.ProtectionHandler.lambda$canPvp$1(ProtectionHandler.java:37) ~[QualityArmory (3).jar:?]
at java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) ~[?:?]
at java.util.HashMap$KeySpliterator.tryAdvance(HashMap.java:1715) ~[?:?]
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129) ~[?:?]
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) ~[?:?]
at java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:637) ~[?:?]
at me.zombie_striker.qg.hooks.protection.ProtectionHandler.canPvp(ProtectionHandler.java:37) ~[QualityArmory (3).jar:?]
at me.zombie_striker.qg.api.QualityArmory.allowGunsInRegion(QualityArmory.java:153) ~[QualityArmory (3).jar:?]
at me.zombie_striker.qg.guns.utils.GunUtil.shootInstantVector(GunUtil.java:184) ~[QualityArmory (3).jar:?]
at me.zombie_striker.qg.guns.utils.GunUtil.shootHandler(GunUtil.java:63) ~[QualityArmory (3).jar:?]
at me.zombie_striker.qg.guns.utils.GunUtil.shootHandler(GunUtil.java:49) ~[QualityArmory (3).jar:?]
at me.zombie_striker.qg.guns.utils.GunUtil$2.run(GunUtil.java:543) ~[QualityArmory (3).jar:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Airplane-112]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Airplane-112]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Airplane-112]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:492) ~[patched_1.17.1.jar:git-Airplane-112]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Airplane-112]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Airplane-112]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Airplane-112]
at java.lang.Thread.run(Thread.java:831) ~[?:?]
-
Author's response
1: Do not use the review section to post errors
2: this error is not related with this plugin

Resource Information
Author:
----------
Total Downloads: 641
First Release: Oct 15, 2021
Last Update: Nov 27, 2021
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings