mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 22:13:25 +01:00
Remove these
This commit is contained in:
parent
f1194bfd32
commit
be86d3e845
@ -123,12 +123,6 @@ public class Jobs extends JavaPlugin {
|
||||
}
|
||||
|
||||
public Optional<BlockOwnerShip> getBlockOwnerShip(CMIMaterial type, boolean addNew) {
|
||||
if (type == CMIMaterial.FURNACE || type == CMIMaterial.LEGACY_BURNING_FURNACE
|
||||
|| type == CMIMaterial.BLAST_FURNACE || type == CMIMaterial.BREWING_STAND
|
||||
|| type == CMIMaterial.LEGACY_BREWING_STAND || type == CMIMaterial.SMOKER) {
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
BlockOwnerShip b = null;
|
||||
for (BlockOwnerShip ship : blockOwnerShips) {
|
||||
if (ship.getMaterial() == type) {
|
||||
|
Loading…
Reference in New Issue
Block a user