Weird swapped boolean.

This commit is contained in:
Brianna 2019-08-14 17:53:40 -04:00
parent 7a2ef6d601
commit 7beffcc5cc
2 changed files with 3 additions and 6 deletions

View File

@ -4,7 +4,7 @@ stages:
variables:
name: "EpicFurnaces"
path: "/builds/$CI_PROJECT_PATH"
version: "4.4.3"
version: "4.4.4"
build:
stage: build

View File

@ -47,11 +47,8 @@ public class BlockListeners implements Listener {
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onBlockPlace(BlockPlaceEvent event) {
if (plugin.getBlacklistHandler().isBlacklisted(event.getPlayer())) {
return;
}
if (event.getBlock().getType().name().contains("FURNACE"))
if (plugin.getBlacklistHandler().isBlacklisted(event.getPlayer())
|| !event.getBlock().getType().name().contains("FURNACE"))
return;
ItemStack item = event.getItemInHand();