Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

access main class from another class spigot

private MainClassName plugin;

public currentClassname(MainClassName instance) {
	plugin = instance;
}

// you can then use your plugin as the plugin variable
 
PREVIOUS NEXT
Tagged: #access #main #class #class #spigot
ADD COMMENT
Topic
Name
9+9 =