Correctly reference v1_5_R2.

This commit is contained in:
Kristian S. Stangeland 2013-04-12 05:09:05 +02:00
parent 8e11a40662
commit 2411d29822
2 changed files with 4 additions and 4 deletions

View File

@ -4,10 +4,10 @@ import static org.mockito.Matchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import net.minecraft.server.StatisticList;
import net.minecraft.server.v1_5_R2.StatisticList;
// Will have to be updated for every version though
import org.bukkit.craftbukkit.inventory.CraftItemFactory;
import org.bukkit.craftbukkit.v1_5_R2.inventory.CraftItemFactory;
import org.bukkit.Bukkit;
import org.bukkit.Material;
@ -63,6 +63,6 @@ public class BukkitInitialization {
*/
public static void initializePackage() {
// Initialize reflection
MinecraftReflection.setMinecraftPackage("net.minecraft.server", "org.bukkit.craftbukkit");
MinecraftReflection.setMinecraftPackage("net.minecraft.server.v1_5_R2", "org.bukkit.craftbukkit.v1_5_R2");
}
}

View File

@ -22,7 +22,7 @@ import java.lang.reflect.Array;
import java.util.List;
// Will have to be updated for every version though
import org.bukkit.craftbukkit.inventory.CraftItemFactory;
import org.bukkit.craftbukkit.v1_5_R2.inventory.CraftItemFactory;
import org.bukkit.Material;
import org.bukkit.WorldType;