mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-15 17:44:42 +00:00
Initial 1.7 commit
This commit is contained in:
1 parent
34154fc011
commit
ca675b5f31
72 files changed
+2967
-3335
No files matched your search
@@ -2,11 +2,11 @@ package codechicken.lib.world;
|
||||
|
||||
import java.util.HashSet;
|
||||
|
||||
import net.minecraft.network.Packet;
|
||||
import net.minecraft.world.chunk.Chunk;
|
||||
import net.minecraft.world.ChunkCoordIntPair;
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.network.packet.Packet;
|
||||
|
||||
public abstract class ChunkExtension
|
||||
{
|
||||
@@ -42,7 +42,7 @@ public abstract class ChunkExtension
|
||||
public final void sendPacketToPlayers(Packet packet)
|
||||
{
|
||||
for(EntityPlayerMP player : watchedPlayers)
|
||||
player.playerNetServerHandler.sendPacketToPlayer(packet);
|
||||
player.playerNetServerHandler.sendPacket(packet);
|
||||
}
|
||||
|
||||
public final void watchPlayer(EntityPlayerMP player)
|
||||
|
||||
Reference in new issue
Block a user