Answers for "access main class from another class spigot"

1

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
Posted by: Guest on April-02-2021

Code answers related to "access main class from another class spigot"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language