Rename all nms arrow classes
This commit is contained in:
parent
bdef94a144
commit
58d97e1bfe
@ -18,19 +18,19 @@ public class NMSAccess {
|
||||
String nmspackageversion = packageName.substring(packageName.lastIndexOf('.') + 1);
|
||||
switch (nmspackageversion) {
|
||||
case "v1_7_R3": {
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nms179"+".NMSChairsArrow");
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nmsV17R3"+".NMSChairsArrow");
|
||||
return;
|
||||
}
|
||||
case "v1_7_R2": {
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nms175"+".NMSChairsArrow");
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nmsV17R2"+".NMSChairsArrow");
|
||||
return;
|
||||
}
|
||||
case "v1_7_R1": {
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nms172"+".NMSChairsArrow");
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nmsV17R1"+".NMSChairsArrow");
|
||||
return;
|
||||
}
|
||||
case "v1_6_R3": {
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nms164"+".NMSChairsArrow");
|
||||
nmsArrowClass = Class.forName(pkgname+"."+"nmsV16R3"+".NMSChairsArrow");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cnaude.chairs.vehiclearrow.nms164;
|
||||
package com.cnaude.chairs.vehiclearrow.nmsV16R3;
|
||||
|
||||
import net.minecraft.server.v1_6_R3.EntityArrow;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cnaude.chairs.vehiclearrow.nms164;
|
||||
package com.cnaude.chairs.vehiclearrow.nmsV16R3;
|
||||
|
||||
import net.minecraft.server.v1_6_R3.EntityArrow;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cnaude.chairs.vehiclearrow.nms172;
|
||||
package com.cnaude.chairs.vehiclearrow.nmsV17R1;
|
||||
|
||||
import net.minecraft.server.v1_7_R1.EntityArrow;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cnaude.chairs.vehiclearrow.nms172;
|
||||
package com.cnaude.chairs.vehiclearrow.nmsV17R1;
|
||||
|
||||
import net.minecraft.server.v1_7_R1.EntityArrow;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cnaude.chairs.vehiclearrow.nms175;
|
||||
package com.cnaude.chairs.vehiclearrow.nmsV17R2;
|
||||
|
||||
import net.minecraft.server.v1_7_R2.EntityArrow;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cnaude.chairs.vehiclearrow.nms175;
|
||||
package com.cnaude.chairs.vehiclearrow.nmsV17R2;
|
||||
|
||||
import net.minecraft.server.v1_7_R2.EntityArrow;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cnaude.chairs.vehiclearrow.nms179;
|
||||
package com.cnaude.chairs.vehiclearrow.nmsV17R3;
|
||||
|
||||
import net.minecraft.server.v1_7_R3.EntityArrow;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.cnaude.chairs.vehiclearrow.nms179;
|
||||
package com.cnaude.chairs.vehiclearrow.nmsV17R3;
|
||||
|
||||
import net.minecraft.server.v1_7_R3.EntityArrow;
|
||||
|
Loading…
Reference in New Issue
Block a user