Updated to 1.6.4 R0.1

This commit is contained in:
Lennart ten Wolde 2013-09-21 09:49:10 +02:00
parent f7a3e012cc
commit a6c55ab86b
2 changed files with 10 additions and 11 deletions

View file

@ -4,7 +4,7 @@
<groupId>me.lenis0012.mr</groupId>
<artifactId>Marriage</artifactId>
<version>1.2</version>
<version>1.2.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Marriage</name>
@ -31,7 +31,7 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.6.2-R0.1</version>
<version>1.6.4-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>

View file

@ -4,17 +4,16 @@ import java.lang.reflect.Field;
import java.util.Random;
import java.util.logging.Level;
import net.minecraft.server.v1_6_R2.DataWatcher;
import net.minecraft.server.v1_6_R2.EntityPlayer;
import net.minecraft.server.v1_6_R2.MathHelper;
import net.minecraft.server.v1_6_R2.Packet24MobSpawn;
import net.minecraft.server.v1_6_R2.Packet29DestroyEntity;
import net.minecraft.server.v1_6_R2.Packet38EntityStatus;
import net.minecraft.server.v1_6_R3.DataWatcher;
import net.minecraft.server.v1_6_R3.EntityPlayer;
import net.minecraft.server.v1_6_R3.MathHelper;
import net.minecraft.server.v1_6_R3.Packet24MobSpawn;
import net.minecraft.server.v1_6_R3.Packet29DestroyEntity;
import net.minecraft.server.v1_6_R3.Packet38EntityStatus;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_6_R2.entity.CraftPlayer;
import org.bukkit.entity.EntityType;
import org.bukkit.craftbukkit.v1_6_R3.entity.CraftPlayer;
import org.bukkit.entity.Player;
public class PacketUtil {
@ -29,7 +28,7 @@ public class PacketUtil {
Packet24MobSpawn packet = new Packet24MobSpawn();
packet.a = entityId;
packet.b = EntityType.WOLF.getTypeId();
packet.b = 95;
packet.c = MathHelper.floor(loc.getX() * 32.0D);
packet.d = MathHelper.floor(loc.getY() * 32.0D);
packet.e = MathHelper.floor(loc.getZ() * 32.0D);