mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-02 07:23:29 +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) {
|
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;
|
BlockOwnerShip b = null;
|
||||||
for (BlockOwnerShip ship : blockOwnerShips) {
|
for (BlockOwnerShip ship : blockOwnerShips) {
|
||||||
if (ship.getMaterial() == type) {
|
if (ship.getMaterial() == type) {
|
||||||
|
Loading…
Reference in New Issue
Block a user