mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
etc.getDataSource() is now static; updated.
This commit is contained in:
parent
48aeb58bbb
commit
87780f0a78
@ -105,7 +105,7 @@ public class WorldEdit extends Plugin {
|
|||||||
foundID = Integer.parseInt(id);
|
foundID = Integer.parseInt(id);
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
try {
|
try {
|
||||||
foundID = etc.getInstance().getDataSource().getItem(id);
|
foundID = etc.getDataSource().getItem(id);
|
||||||
} catch (NumberFormatException e2) {
|
} catch (NumberFormatException e2) {
|
||||||
throw new UnknownItemException();
|
throw new UnknownItemException();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user