mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-03-07 13:48:00 +08:00
etc.getDataSource() is now static; updated.
This commit is contained in:
parent
48aeb58bbb
commit
87780f0a78
@ -105,7 +105,7 @@ private int getItem(String id, boolean allAllowed)
|
||||
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user