Add a warning for Residence

This commit is contained in:
Andrzej Pomirski 2015-03-21 16:11:23 +01:00
parent 0f75d3638e
commit 2c729789e8

View File

@ -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;