Package cpw.mods.fml.common.network.simpleimpl

Examples of cpw.mods.fml.common.network.simpleimpl.IMessage


        buffer.writeInt(backpackDamage);
    }

    @Override
    public IMessage onMessage(MessagePersonalBackpack message, MessageContext ctx) {
        IMessage returnMessage = null;
        if(BackpackUtil.isServerSide()) {
            PlayerSave playerSave = new PlayerSave(message.playerUUID);
            ItemStack backpack = playerSave.getPersonalBackpack();
            if(backpack != null) {
                returnMessage = new MessagePersonalBackpack(message.playerUUID, backpack.getItemDamage());
View Full Code Here

TOP

Related Classes of cpw.mods.fml.common.network.simpleimpl.IMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.