mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-27 15:23:12 +00:00
Begin updating Mantle to 1.14.2! Lots of things are broken again sadly :/
This commit is contained in:
1 parent
75faf82159
commit
e0b30fdf33
58 files changed
+436
-439
No files matched your search
@@ -1,6 +1,6 @@
|
||||
package slimeknights.mantle.network;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.entity.player.ServerPlayerEntity;
|
||||
import net.minecraft.network.PacketBuffer;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.common.util.FakePlayer;
|
||||
@@ -39,7 +39,7 @@ public class NetworkWrapper {
|
||||
network.sendToServer(msg);
|
||||
}
|
||||
|
||||
public void sendTo(Object msg, EntityPlayerMP player) {
|
||||
public void sendTo(Object msg, ServerPlayerEntity player) {
|
||||
if(!(player instanceof FakePlayer)) {
|
||||
network.sendTo(msg, player.connection.netManager, NetworkDirection.PLAY_TO_CLIENT);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user