Add support for 1.7.8
This commit is contained in:
parent
bb0d355fd2
commit
5ec264723e
@ -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_R3": {
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nms178"+".NMSChairsArrow");
|
||||
return;
|
||||
}
|
||||
case "v1_7_R2": {
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nms175"+".NMSChairsArrow");
|
||||
return;
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: Chairs
|
||||
version: 4.0
|
||||
version: 4.1
|
||||
description: Let players sit on blocks.
|
||||
website: http://dev.bukkit.org/bukkit-plugins/chairsreloaded/
|
||||
authors:
|
||||
|
Loading…
Reference in New Issue
Block a user