mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-25 14:24:25 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
79fe543ef8
commit
da6558839a
284 files changed
+4465
-4782
No files matched your search
@@ -1,7 +1,5 @@
|
||||
package makeo.gadomancy.common.events;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.common.gameevent.PlayerEvent;
|
||||
import makeo.gadomancy.common.data.DataAchromatic;
|
||||
import makeo.gadomancy.common.data.DataFamiliar;
|
||||
import makeo.gadomancy.common.data.SyncDataHolder;
|
||||
@@ -11,15 +9,17 @@ import makeo.gadomancy.common.network.packets.PacketUpdateGolemTypeOrder;
|
||||
import makeo.gadomancy.common.network.packets.PacketUpdateOnlineState;
|
||||
import makeo.gadomancy.common.utils.GolemEnumHelper;
|
||||
import makeo.gadomancy.common.utils.world.TCMazeHandler;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.common.gameevent.PlayerEvent;
|
||||
|
||||
/**
|
||||
* This class is part of the Gadomancy Mod
|
||||
* Gadomancy is Open Source and distributed under the
|
||||
* GNU LESSER GENERAL PUBLIC LICENSE
|
||||
* for more read the LICENSE file
|
||||
* This class is part of the Gadomancy Mod Gadomancy is Open Source and distributed under the GNU LESSER GENERAL PUBLIC
|
||||
* LICENSE for more read the LICENSE file
|
||||
*
|
||||
* Created by makeo @ 30.07.2015 18:26
|
||||
*/
|
||||
@@ -31,8 +31,8 @@ public class EventHandlerNetwork {
|
||||
EntityPlayerMP p = (EntityPlayerMP) e.player;
|
||||
PacketHandler.INSTANCE.sendTo(new PacketUpdateGolemTypeOrder(GolemEnumHelper.getCurrentMapping()), p);
|
||||
PacketHandler.INSTANCE.sendTo(new PacketSyncConfigs(), p);
|
||||
PacketHandler.INSTANCE.sendTo(
|
||||
new PacketUpdateOnlineState(MinecraftServer.getServer().isServerInOnlineMode()), p);
|
||||
PacketHandler.INSTANCE
|
||||
.sendTo(new PacketUpdateOnlineState(MinecraftServer.getServer().isServerInOnlineMode()), p);
|
||||
((DataFamiliar) SyncDataHolder.getDataServer("FamiliarData")).checkPlayerEquipment(p);
|
||||
((DataAchromatic) SyncDataHolder.getDataServer("AchromaticData")).checkPotionEffect(p);
|
||||
SyncDataHolder.syncAllDataTo(p);
|
||||
|
||||
Reference in new issue
Block a user