We have no idea what this method, or even its containing class, is supposed to do, so it is impossible to make any suggestions. Also, if you get errors then provide the exact text of the messages and the lines of code that cause them.
Thank you Richard. I had numerous errors but the main being a reflection error stating that .setRedKey(true) could not be found in my .bsh script (however it was there).
I think i have fixed the problem by removing 'player.getInventory()' and just using the method 'redKey.setCollected(true)', this puts the redKey object into an arrayList which i can then use as the players inventory to be shown on the screen when the player presses the 'i' key.
There are frequent news stories about security holes in Java. Do these apply mostly to browser plug-ins, or are there similar numbers of security issues in other components, such as JVMs, JavaFaces & Oracle ADF, Spring and other frameworks? In particular, I am concerned with security in Java code and components running on a web server.
If you think 'goto' is evil, try writing an Assembly program without JMP.
Hey im new to this forum stuff... well i could not locate the question i posted in the discussions.So i just re-posted it.. hope mistakes are accepted for the first time by the way thanks for the reply.
Last Visit: 31-Dec-99 18:00 Last Update: 31-Jul-14 5:24