mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 18:46:43 +00:00
commit
695341428a
@ -3,7 +3,6 @@ package net.simon987.server.game;
|
|||||||
import com.mongodb.BasicDBList;
|
import com.mongodb.BasicDBList;
|
||||||
import com.mongodb.BasicDBObject;
|
import com.mongodb.BasicDBObject;
|
||||||
import com.mongodb.DBObject;
|
import com.mongodb.DBObject;
|
||||||
import com.sun.istack.internal.Nullable;
|
|
||||||
import net.simon987.server.GameServer;
|
import net.simon987.server.GameServer;
|
||||||
import net.simon987.server.event.GameEvent;
|
import net.simon987.server.event.GameEvent;
|
||||||
import net.simon987.server.event.WorldUpdateEvent;
|
import net.simon987.server.event.WorldUpdateEvent;
|
||||||
@ -128,7 +127,6 @@ public class World implements MongoSerialisable {
|
|||||||
gameObjects.remove(object.getObjectId());
|
gameObjects.remove(object.getObjectId());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nullable
|
|
||||||
public GameObject findObject(long objectId) {
|
public GameObject findObject(long objectId) {
|
||||||
return gameObjects.get(objectId);
|
return gameObjects.get(objectId);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user