Compatible with 1.7.5
Still need to test this
This commit is contained in:
		| @@ -17,6 +17,10 @@ public class NMSAccess { | ||||
| 		String packageName = Bukkit.getServer().getClass().getPackage().getName(); | ||||
| 		String nmspackageversion = packageName.substring(packageName.lastIndexOf('.') + 1); | ||||
| 		switch (nmspackageversion) { | ||||
| 			case "v1_7_R2": { | ||||
| 				nmsArrowClass = Class.forName(pkgname+"."+"nms175"+".NMSChairsArrow"); | ||||
| 				return; | ||||
| 			} | ||||
| 			case "v1_7_R1": { | ||||
| 				nmsArrowClass = Class.forName(pkgname+"."+"nms172"+".NMSChairsArrow"); | ||||
| 				return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Shevchik
					Shevchik