阅读背景:

Minecraft Bukkit:如何从主类访问另一个类中的属性/方法?

来源:互联网 

Hi everyone I'm trying to use variables from the Main class into my Event Listener class. This is a Minecraft Java Bukkit code that I'm working with. I'm trying to receive the "CanRestart" static boolean variable from my MainClass and trying to use it in the Event Listeners class. No errors popup in the program, but in the console there are errors and the plugin does not work. Hi everyone I'm trying to use variables from th




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: