etc.getDataSource() is now static; updated.

This commit is contained in:
sk89q 2010-10-04 22:44:55 -07:00
parent 48aeb58bbb
commit 87780f0a78

View File

@ -105,7 +105,7 @@ public class WorldEdit extends Plugin {
foundID = Integer.parseInt(id);
} catch (NumberFormatException e) {
try {
foundID = etc.getInstance().getDataSource().getItem(id);
foundID = etc.getDataSource().getItem(id);
} catch (NumberFormatException e2) {
throw new UnknownItemException();
}