1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-16 21:21:20 +01:00

Added 3rd party BP

This commit is contained in:
Rukes 2017-08-13 02:53:35 +02:00
parent d1c24bed10
commit 3ed7b01ce8

View File

@ -1094,6 +1094,10 @@ public class Jobs extends JavaPlugin {
return true;
if (info.getType() == ActionType.BREAK) {
if(block.hasMetadata("JobsExploit")){
//player.sendMessage("This block is protected using Rukes' system!");
return false;
}
BlockProtection bp = getBpManager().getBp(block.getLocation());
if (bp != null) {
Long time = bp.getTime();