mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-25 08:11:20 +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);
|
listener = SimpleChestLock.getSimpleChestLock(plugin);
|
||||||
break;
|
break;
|
||||||
case Residence:
|
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();
|
listener = new ResidenceChestProtection();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user