mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-10 00:57:34 +01:00
Add a warning for Residence
This commit is contained in:
parent
0f75d3638e
commit
2c729789e8
@ -67,6 +67,13 @@ public class Dependencies {
|
||||
listener = SimpleChestLock.getSimpleChestLock(plugin);
|
||||
break;
|
||||
case Residence:
|
||||
if (plugin.getDescription().getVersion().startsWith("2")) {
|
||||
ChestShop.getBukkitLogger().severe("You are using an old version of Residence! " +
|
||||
"Please update to the newest one, which supports UUIDs: http://ci.drtshock.net/job/Residence/");
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
listener = new ResidenceChestProtection();
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user