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 packageName = Bukkit.getServer().getClass().getPackage().getName();
|
||||||
String nmspackageversion = packageName.substring(packageName.lastIndexOf('.') + 1);
|
String nmspackageversion = packageName.substring(packageName.lastIndexOf('.') + 1);
|
||||||
switch (nmspackageversion) {
|
switch (nmspackageversion) {
|
||||||
|
case "v1_7_R3": {
|
||||||
|
nmsArrowClass = Class.forName(pkgname+"."+"nms178"+".NMSChairsArrow");
|
||||||
|
return;
|
||||||
|
}
|
||||||
case "v1_7_R2": {
|
case "v1_7_R2": {
|
||||||
nmsArrowClass = Class.forName(pkgname+"."+"nms175"+".NMSChairsArrow");
|
nmsArrowClass = Class.forName(pkgname+"."+"nms175"+".NMSChairsArrow");
|
||||||
return;
|
return;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: Chairs
|
name: Chairs
|
||||||
version: 4.0
|
version: 4.1
|
||||||
description: Let players sit on blocks.
|
description: Let players sit on blocks.
|
||||||
website: http://dev.bukkit.org/bukkit-plugins/chairsreloaded/
|
website: http://dev.bukkit.org/bukkit-plugins/chairsreloaded/
|
||||||
authors:
|
authors:
|
||||||
|
Loading…
Reference in New Issue
Block a user