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: variables:
name: "EpicFurnaces" name: "EpicFurnaces"
path: "/builds/$CI_PROJECT_PATH" path: "/builds/$CI_PROJECT_PATH"
version: "4.4.3" version: "4.4.4"
build: build:
stage: build stage: build

View File

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