Closed ghost closed 9 years ago
Members don't have blocks perm so I would think that they'd need at least that perm to use acid blocks on the same group since it accomplishes the same thing.
On 6/22/15, ttk2 notifications@github.com wrote:
I think that's how its supposed to work?
Reply to this email directly or view it on GitHub: https://github.com/Civcraft/Citadel/issues/108#issuecomment-114299284
I think it is working correctly, players need to have the BLOCKS permission to modify reinforcements
The player who discovered this received the message that they do not have the permission to use the acid block, but the acid block popped anyway.
Hi, Yeah that was me... But also, I think I've found the problem:
1. Player has permission:
-Continue
-break block (providing all other requirements met)
2. Player does not have permission:
-Display message "you do not have sufficient... blah blah"
-SHOULD RETURN HERE, BUT:
-Fall out of if block
-Break block (providing all other requirements met)
You're missing a return :)
(EDIT: I'd fiddle and test this, but I've fallen over at maven dependencies)
Good catch
On Tuesday, June 23, 2015, adzjwarner notifications@github.com wrote:
Hi, Yeah that was me... But also, I think I've found the problem:
- Player has permission: -Continue -break block (providing all other requirements met)
- Player does not have permission: -Display message "you do not have sufficient... blah blah" -SHOULD RETURN HERE BUT: -Fall out of if loop -Break block (providing all other requirements met)
You're missing a return :)
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/Citadel/issues/108#issuecomment-114403710.
Sounds like a quick fix. Any volunteers?
Woops, didn't mean to close issue.
I've staged it on civtest. I'll restart civtest in a bit once current testers are off.
Huh, got a bunch of Unknown dependency CivModCore and other stuff when I put this on. Probably due to other changes?
@rourke750
org.bukkit.plugin.UnknownDependencyException: CivModCore at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:219) [spigot.jar:git-Spigot-1d14d5f-7722428] at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.java:291) [spigot.jar:git-Spigot-1d14d5f-7722428] at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:199) [spigot.jar:git-Spigot-1d14d5f-7722428] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) [spigot.jar:git-Spigot-1d14d5f-7722428] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal] 2015-06-23 11:14:07 [ERROR] Could not load 'plugins/JukeAlert-1.3.1.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Citadel at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:219) [spigot.jar:git-Spigot-1d14d5f-7722428] at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.java:291) [spigot.jar:git-Spigot-1d14d5f-7722428] at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:199) [spigot.jar:git-Spigot-1d14d5f-7722428] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) [spigot.jar:git-Spigot-1d14d5f-7722428] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal] 2015-06-23 11:14:07 [ERROR] Could not load 'plugins/Bastion-1.0.1.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Citadel at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:219) [spigot.jar:git-Spigot-1d14d5f-7722428] at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.java:291) [spigot.jar:git-Spigot-1d14d5f-7722428] at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:199) [spigot.jar:git-Spigot-1d14d5f-7722428] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) [spigot.jar:git-Spigot-1d14d5f-7722428] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal] 2015-06-23 11:14:07 [ERROR] Could not load 'plugins/FactoryMod-1.4.0-22.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Citadel at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:219) [spigot.jar:git-Spigot-1d14d5f-7722428] at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.java:291) [spigot.jar:git-Spigot-1d14d5f-7722428] at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:199) [spigot.jar:git-Spigot-1d14d5f-7722428] at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) [spigot.jar:git-Spigot-1d14d5f-7722428] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45-internal] 2015-06-23 11:14:07 [ERROR] Could not load 'plugins/ItemExchange-1.0.0-1.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Citadel
Yup other changes. Just toss it on Civtest juenkins has core builds.
On Tue, Jun 23, 2015, 10:16 AM Dr. Andrew Jawa notifications@github.com wrote:
Huh, got a bunch of Unknown dependency CivModCore and other stuff when I put this on. Probably due to other changes?
@rourke750 https://github.com/rourke750
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/Citadel/issues/108#issuecomment-114540522.
Even though it is saying it couldn't load dependencies?
Just checking to be sure
No you need to add CivModCore as well. On Jun 23, 2015 1:25 PM, "Dr. Andrew Jawa" notifications@github.com wrote:
Even though it is saying it couldn't load dependencies?
Just checking to be sure
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/Citadel/issues/108#issuecomment-114578498.
Done seems to work. Only bergecore complained.
they might have to live in harmony someday, but it should probably be removed for today.
@drjawa did you ever get confirmation that this is solved?
Yeah, the fix is live so this shall be closed.
On 7/1/15, jjj5311 notifications@github.com wrote:
@drjawa did you ever get confirmation that this is solved?
Reply to this email directly or view it on GitHub: https://github.com/Civcraft/Citadel/issues/108#issuecomment-117706417
I think that's how its supposed to work?