Rename all nms arrow classes

This commit is contained in:
Shevchik 2014-07-09 08:28:54 +04:00
parent bdef94a144
commit 58d97e1bfe
9 changed files with 12 additions and 12 deletions

View File

@ -18,19 +18,19 @@ public class NMSAccess {
String nmspackageversion = packageName.substring(packageName.lastIndexOf('.') + 1); String nmspackageversion = packageName.substring(packageName.lastIndexOf('.') + 1);
switch (nmspackageversion) { switch (nmspackageversion) {
case "v1_7_R3": { case "v1_7_R3": {
nmsArrowClass = Class.forName(pkgname+"."+"nms179"+".NMSChairsArrow"); nmsArrowClass = Class.forName(pkgname+"."+"nmsV17R3"+".NMSChairsArrow");
return; return;
} }
case "v1_7_R2": { case "v1_7_R2": {
nmsArrowClass = Class.forName(pkgname+"."+"nms175"+".NMSChairsArrow"); nmsArrowClass = Class.forName(pkgname+"."+"nmsV17R2"+".NMSChairsArrow");
return; return;
} }
case "v1_7_R1": { case "v1_7_R1": {
nmsArrowClass = Class.forName(pkgname+"."+"nms172"+".NMSChairsArrow"); nmsArrowClass = Class.forName(pkgname+"."+"nmsV17R1"+".NMSChairsArrow");
return; return;
} }
case "v1_6_R3": { case "v1_6_R3": {
nmsArrowClass = Class.forName(pkgname+"."+"nms164"+".NMSChairsArrow"); nmsArrowClass = Class.forName(pkgname+"."+"nmsV16R3"+".NMSChairsArrow");
return; return;
} }
} }

View File

@ -1,4 +1,4 @@
package com.cnaude.chairs.vehiclearrow.nms164; package com.cnaude.chairs.vehiclearrow.nmsV16R3;
import net.minecraft.server.v1_6_R3.EntityArrow; import net.minecraft.server.v1_6_R3.EntityArrow;

View File

@ -1,4 +1,4 @@
package com.cnaude.chairs.vehiclearrow.nms164; package com.cnaude.chairs.vehiclearrow.nmsV16R3;
import net.minecraft.server.v1_6_R3.EntityArrow; import net.minecraft.server.v1_6_R3.EntityArrow;

View File

@ -1,4 +1,4 @@
package com.cnaude.chairs.vehiclearrow.nms172; package com.cnaude.chairs.vehiclearrow.nmsV17R1;
import net.minecraft.server.v1_7_R1.EntityArrow; import net.minecraft.server.v1_7_R1.EntityArrow;

View File

@ -1,4 +1,4 @@
package com.cnaude.chairs.vehiclearrow.nms172; package com.cnaude.chairs.vehiclearrow.nmsV17R1;
import net.minecraft.server.v1_7_R1.EntityArrow; import net.minecraft.server.v1_7_R1.EntityArrow;

View File

@ -1,4 +1,4 @@
package com.cnaude.chairs.vehiclearrow.nms175; package com.cnaude.chairs.vehiclearrow.nmsV17R2;
import net.minecraft.server.v1_7_R2.EntityArrow; import net.minecraft.server.v1_7_R2.EntityArrow;

View File

@ -1,4 +1,4 @@
package com.cnaude.chairs.vehiclearrow.nms175; package com.cnaude.chairs.vehiclearrow.nmsV17R2;
import net.minecraft.server.v1_7_R2.EntityArrow; import net.minecraft.server.v1_7_R2.EntityArrow;

View File

@ -1,4 +1,4 @@
package com.cnaude.chairs.vehiclearrow.nms179; package com.cnaude.chairs.vehiclearrow.nmsV17R3;
import net.minecraft.server.v1_7_R3.EntityArrow; import net.minecraft.server.v1_7_R3.EntityArrow;

View File

@ -1,4 +1,4 @@
package com.cnaude.chairs.vehiclearrow.nms179; package com.cnaude.chairs.vehiclearrow.nmsV17R3;
import net.minecraft.server.v1_7_R3.EntityArrow; import net.minecraft.server.v1_7_R3.EntityArrow;