mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-23 09:37:51 +01:00
Removed unnecessary if branch
This commit is contained in:
parent
e52875bd0b
commit
0fa92d4836
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user