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:
parent
d1c24bed10
commit
3ed7b01ce8
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user