Add supporting code to help with CTM support (block names, biome names)

This commit is contained in:
Mike Primm 2013-04-18 01:20:59 -05:00
parent bcd0acec33
commit 7c6e660cf0
4 changed files with 61 additions and 3 deletions

View file

@ -174,7 +174,7 @@ public abstract class BukkitVersionHelperGeneric extends BukkitVersionHelper {
/**
* Get private field
*/
private Field getPrivateField(Class<?> cls, String[] ids, Class<?> type) {
protected Field getPrivateField(Class<?> cls, String[] ids, Class<?> type) {
if((cls == null) || (type == null)) return null;
for(String id : ids) {
try {