mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2025-02-19 01:41:22 +01:00
Switch to BlockLocker 1.9 repo
This commit is contained in:
parent
e0de12b995
commit
cb86a9000a
7
pom.xml
7
pom.xml
@ -276,9 +276,10 @@
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.rutgerkok</groupId>
|
||||
<artifactId>BlockLocker</artifactId>
|
||||
<version>eb78e99e72</version>
|
||||
<groupId>nl.rutgerkok</groupId>
|
||||
<artifactId>blocklocker</artifactId>
|
||||
<version>1.9</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bstats</groupId>
|
||||
|
@ -187,12 +187,12 @@ public class IntegrationListener implements Listener {
|
||||
} catch (Throwable e) {
|
||||
event.setCancelled(true);
|
||||
P.p.errorLog("Failed to Check BlockLocker for Barrel Open Permissions!");
|
||||
P.p.errorLog("Brewery was tested with BlockLocker v1.8.2");
|
||||
P.p.errorLog("Brewery was tested with BlockLocker v1.9");
|
||||
P.p.errorLog("Disable the BlockLocker support in the config and do /brew reload");
|
||||
e.printStackTrace();
|
||||
Player player = event.getPlayer();
|
||||
if (player.hasPermission("brewery.admin") || player.hasPermission("brewery.mod")) {
|
||||
P.p.msg(player, "&cBlockLocker check Error, Brewery was tested with v1.8.2 of BlockLocker");
|
||||
P.p.msg(player, "&cBlockLocker check Error, Brewery was tested with v1.9 of BlockLocker");
|
||||
P.p.msg(player, "&cSet &7useBlockLocker: false &cin the config and /brew reload");
|
||||
} else {
|
||||
P.p.msg(player, "&cError opening Barrel, please report to an Admin!");
|
||||
|
Loading…
Reference in New Issue
Block a user