Verified Commit 1037514a authored by Marwolf's avatar Marwolf 💬

Light corrections after revert

parent 66bb55f1
package com.openrsc.server.io;
import com.openrsc.server.Server;
import com.openrsc.server.model.world.World;
import com.openrsc.server.model.world.region.TileValue;
import com.openrsc.server.sql.WorldPopulator;
......
......@@ -14,7 +14,7 @@ public abstract class Entity {
private final Map<String, Object> attributes = new ConcurrentHashMap<String, Object>();
private int id;
public int id;
private int index;
......
......@@ -577,7 +577,7 @@ public final class World implements SimpleSubscriber<FishingTrawler> {
getPlayers().add(player);
player.updateRegion();
getServer().getGameLogger().run(new PlayerOnlineFlagQuery(getServer(), player.getDatabaseID(), player.getCurrentIP(), true));
getServer().getGameLogger().addQuery(new PlayerOnlineFlagQuery(getServer(), player.getDatabaseID(), player.getCurrentIP(), true));
getServer().getGameLogger().addQuery(new LoginLog(player.getWorld(), player.getDatabaseID(), player.getCurrentIP()));
for (Player other : getPlayers()) {
other.getSocial().alertOfLogin(player);
......
......@@ -6,8 +6,6 @@ import com.openrsc.server.model.entity.player.Player;
import com.openrsc.server.model.states.Action;
import com.openrsc.server.net.Packet;
import com.openrsc.server.net.rsc.PacketHandler;
import com.openrsc.server.sql.query.logs.GenericLog;
import com.openrsc.server.util.rsc.DataConversions;
public final class ItemDropHandler implements PacketHandler {
......
package com.openrsc.server.sql.web;
import com.openrsc.server.sql.web.AvatarFormat.*;
import com.openrsc.server.constants.Constants;
import com.openrsc.server.model.PlayerAppearance;
import com.openrsc.server.model.world.World;
import com.openrsc.server.sql.web.AvatarFormat.*;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.*;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.HashMap;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment