From 17174c177c2b942f1eb34ad5b18c152573174186 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Sat, 11 Jan 2014 23:41:23 -0600 Subject: [PATCH] Handle textures loading from other mods --- src/main/java/org/dynmap/bukkit/DynmapPlugin.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/dynmap/bukkit/DynmapPlugin.java b/src/main/java/org/dynmap/bukkit/DynmapPlugin.java index b642e2a5..8987a292 100644 --- a/src/main/java/org/dynmap/bukkit/DynmapPlugin.java +++ b/src/main/java/org/dynmap/bukkit/DynmapPlugin.java @@ -2,6 +2,7 @@ package org.dynmap.bukkit; import java.io.File; import java.io.IOException; +import java.io.InputStream; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.InetSocketAddress; @@ -580,6 +581,11 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI { } return map; } + + @Override + public InputStream openResource(String modid, String rname) { + return null; // No mods supported + } } /** * Player access abstraction class