[1.8.9][SOLVED] Throwable Item wont spawn?
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
Was a fix found for this?
-
Found the solution! Instead of using PlayerEvent.Clone to sync capabilities with a client use EntityJoinWorldEvent! That's how CapabilitySync class should look like: public class CapabilitySync { @SubscribeEvent public void EntityJoinWorldEvent(EntityJoinWorldEvent event) { Entity entity = event.getEntity(); if (entity.world.isRemote || !(entity instanceof EntityPlayerMP)) return; EntityPlayer player = (EntityPlayer) entity; NetworkHandler.channel.sendTo(new ServerToClient(player), (EntityPlayerMP) player); } @SubscribeEvent public void onPlayerClone(PlayerEvent.Clone event) { EntityPlayer player = event.getEntityPlayer(); IFolder folder = player.getCapability(FolderProvider.FOLDER_CAP, null); IFolder oldfolder = event.getOriginal().getCapability(FolderProvider.FOLDER_CAP, null); folder.setFolders(oldfolder.getFolders()); } } Here is a full code if you need one! https://github.com/R4L34/capabilitynetworking
-
By vinnyg0621 · Posted
can someone please help me, I really want to play my modded game again! -
At the risk of intruding into another's thread, I've lost my ability to read crash reports sometime after 1.12.2. If I may ask, what was it that pointed to those particular mods as the culprit? I see just enough guns in the stack trace, but only in conjunction with other, presumably unrelated mods (like a caves generation mod). What narrows it down?
-
By EpicMugBoi · Posted
Surprisingly it was both and thank you for your time i would have never thought it jeg
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.