1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-01 23:13:48 +01:00

Remove these

This commit is contained in:
montlikadani 2020-10-22 14:45:13 +02:00
parent f1194bfd32
commit be86d3e845

View File

@ -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) {