Fix maven build error

Removes a reference to com.sun.istack.internal.Nullable and an associated annotation, which causes the maven build to fail.
This commit is contained in:
Luc Lagarde 2018-01-11 21:00:26 -06:00 committed by GitHub
parent 54b72e89b3
commit c610929809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,6 @@ package net.simon987.server.game;
import com.mongodb.BasicDBList;
import com.mongodb.BasicDBObject;
import com.mongodb.DBObject;
import com.sun.istack.internal.Nullable;
import net.simon987.server.GameServer;
import net.simon987.server.event.GameEvent;
import net.simon987.server.event.WorldUpdateEvent;
@ -128,7 +127,6 @@ public class World implements MongoSerialisable {
gameObjects.remove(object.getObjectId());
}
@Nullable
public GameObject findObject(long objectId) {
return gameObjects.get(objectId);
}