Monsters should drop items in world (#373)

* Monsters should drop items in world

fix the typo introduced in https://github.com/Grasscutters/Grasscutter/pull/366/commits/f1934c3a47d6c7ef888581bcf7f361d063154215

* Determine whether in dungeon scene
This commit is contained in:
Aru
2022-04-30 19:18:09 +08:00
committed by GitHub
Unverified
parent 7b991d7b4e
commit d6fa05915f
@@ -375,7 +375,7 @@ public class Scene {
this.broadcastPacket(new PacketLifeStateChangeNotify(attackerId, target, LifeState.LIFE_DEAD));
// Reward drop
if (target instanceof EntityMonster && this.getSceneType() != SceneType.SCENE_WORLD) {
if (target instanceof EntityMonster && this.getSceneType() != SceneType.SCENE_DUNGEON) {
getWorld().getServer().getDropManager().callDrop((EntityMonster) target);
}