mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-22 11:54:39 +01:00
Run IntelliJ IDEA code formatter
This commit is contained in:
@@ -3,6 +3,9 @@ package emu.grasscutter.game.drop;
|
||||
import java.util.List;
|
||||
|
||||
public class DropInfo {
|
||||
private int monsterId;
|
||||
private List<DropData> dropDataList;
|
||||
|
||||
public int getMonsterId() {
|
||||
return monsterId;
|
||||
}
|
||||
@@ -10,7 +13,4 @@ public class DropInfo {
|
||||
public List<DropData> getDropDataList() {
|
||||
return dropDataList;
|
||||
}
|
||||
|
||||
private int monsterId;
|
||||
private List<DropData> dropDataList;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ public class DropSystem extends BaseGameSystem {
|
||||
Grasscutter.getLogger().error("Unable to load drop data.", e);
|
||||
}
|
||||
}
|
||||
|
||||
private void addDropEntity(DropData dd, Scene dropScene, ItemData itemData, Position pos, int num, Player target) {
|
||||
if (!dd.isGive() && (itemData.getItemType() != ItemType.ITEM_VIRTUAL || itemData.getGadgetId() != 0)) {
|
||||
EntityItem entity = new EntityItem(dropScene, target, itemData, pos, num, dd.isShare());
|
||||
|
||||
Reference in New Issue
Block a user