mirror of
https://github.com/songoda/EpicFurnaces.git
synced 2024-11-27 20:35:24 +01:00
Weird swapped boolean.
This commit is contained in:
parent
7a2ef6d601
commit
7beffcc5cc
@ -4,7 +4,7 @@ stages:
|
||||
variables:
|
||||
name: "EpicFurnaces"
|
||||
path: "/builds/$CI_PROJECT_PATH"
|
||||
version: "4.4.3"
|
||||
version: "4.4.4"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user