Removed unnecessary if branch

This commit is contained in:
JOO200 2020-06-25 10:14:19 +02:00 committed by wizjany
parent e52875bd0b
commit 0fa92d4836

View File

@ -328,12 +328,7 @@ public void onSpawnEntity(SpawnEntityEvent event) {
/* Everything else */
} else {
canSpawn = query.testBuild(BukkitAdapter.adapt(target), associable, combine(event));
if (event.getEntity() instanceof Item) {
what = "drop items";
} else {
what = "place things";
}
what = "place things";
}
if (!canSpawn) {