Make Game.getGameDictionary() optional. Fixes
import org.spongepowered.api.world.TeleportHelper;
import java.nio.file.Path;
+import java.util.Optional;
/**
* The core accessor of the API. The implementation uses this to pass
/**
- * Retrieves the GameDictionary (item dictionary) for this GameRegistry.
+ * Retrieves the GameDictionary (item dictionary) for this {@link Game}.
*
- * @return The item dictionary
+ * @return The item dictionary, or empty if unsupported
*/
- GameDictionary getGameDictionary();
+ Optional<GameDictionary> getGameDictionary();
/**
