misc fixes

This commit is contained in:
boy0001
2015-03-15 11:49:22 +11:00
parent 6075de6460
commit e0970dcdd2
9 changed files with 21 additions and 47 deletions

View File

@ -275,7 +275,12 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
BlockUpdateUtil.setBlockManager = BukkitSetBlockManager.setBlockManager;
try {
new SendChunk();
MainUtil.canSendChunk = true;
if (checkVersion(1, 7, 10) && !checkVersion(1, 7, 11)) {
MainUtil.canSendChunk = false;
}
else {
MainUtil.canSendChunk = true;
}
} catch (final Throwable e) {
MainUtil.canSendChunk = false;
}