mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 04:57:18 +00:00
Monsters should drop items in world (#373)
* Monsters should drop items in world
fix the typo introduced in f1934c3a47
* Determine whether in dungeon scene
This commit is contained in:
parent
86f72a5f7a
commit
dd38814209
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user