When i try to use the format he uses, I get this:
Code:
ItemDef.java:227: non-static method actionData(int,java.lang.String) cannot be r
eferenced from a static context
actionData(5, "Wear");
^
ItemDef.java:228: non-static method itemData(java.lang.String,java.lang.String)
cannot be referenced from a static context
itemData("Corrupted dragon battle axe", "It's dragon...b
ut corrupted?");
^
ItemDef.java:229: non-static method totalColors(int) cannot be referenced from a
static context
totalColors(0);
^
ItemDef.java:231: non-static method models(int,int,int,int,int) cannot be refere
nced from a static context
models(9229, 9230, 9230, -1, -1);
^
ItemDef.java:232: non-static method modelData(int,int,int,int,int) cannot be ref
erenced from a static context
modelData(1600, 498, 400, -1, -1);
^
5 errors
Press any key to continue . . .
Here is my code:
Code:
if(i == 9030)
{
actionData(5, "Wear");
itemData("Corrupted dragon battle axe", "It's dragon...but corrupted?");
totalColors(0);
//colors(id, original, modified);
models(9229, 9230, 9230, -1, -1);
modelData(1600, 498, 400, -1, -1);
}