package org.egordorichev.lasstry.mod;

public class Mod {
	protected String name;
	protected boolead loaded;
	
	public Mod(String name) {
		this.name = name;
		this.loaded = false;
	}
	
	public void load() {
		if(this.loaded) {
			// TODO: throw a error
		}
		
		// TODO
		
		this.onLoad();
		this.loaded = true;
	}
	
	protected onLoad() {
	
	}
	
	protected onUnload() {
	
	}
	
	public String getName() {
		return this.name;
	}
}

@@ -79,35 +79,8 @@
 me;%0A
-%09protected boolead loaded;%0A
 %09%0A%09p
@@ -156,140 +156,8 @@
 %7D%0A%09%0A
-%09public void load() %7B%0A%09%09if(this.loaded) %7B%0A%09%09%09// TODO: throw a error%0A%09%09%7D%0A%09%09%0A%09%09// TODO%0A%09%09%0A%09%09this.onLoad();%0A%09%09this.loaded = true;%0A%09%7D%0A%09%0A
 %09pro

Update Mod.java