Removed logging in network messages.
This commit is contained in:
@@ -13,7 +13,7 @@ apply plugin: 'net.minecraftforge.gradle'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
version = '1.14.4-2.15'
|
||||
version = '1.14.4-2.16'
|
||||
group = 'nl.requios.effortlessbuilding' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = 'effortlessbuilding'
|
||||
|
||||
@@ -64,7 +64,7 @@ minecraft {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
data {
|
||||
workingDirectory project.file('run')
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ public class EffortlessBuilding
|
||||
{
|
||||
public static final String MODID = "effortlessbuilding";
|
||||
public static final String NAME = "Effortless Building";
|
||||
public static final String VERSION = "1.13.2-2.15";
|
||||
public static final String VERSION = "1.13.2-2.16";
|
||||
|
||||
public static EffortlessBuilding instance;
|
||||
|
||||
|
||||
@@ -67,8 +67,6 @@ public class AddUndoMessage {
|
||||
public static void handle(AddUndoMessage message, Supplier<NetworkEvent.Context> ctx)
|
||||
{
|
||||
ctx.get().enqueueWork(() -> {
|
||||
EffortlessBuilding.log("AddUndoMessage");
|
||||
|
||||
if (ctx.get().getDirection().getReceptionSide() == LogicalSide.CLIENT) {
|
||||
//Received clientside
|
||||
|
||||
|
||||
@@ -83,7 +83,6 @@ public class BlockBrokenMessage {
|
||||
{
|
||||
public static void handle(BlockBrokenMessage message, Supplier<NetworkEvent.Context> ctx)
|
||||
{
|
||||
EffortlessBuilding.log("BlockBrokenMessage");
|
||||
ctx.get().enqueueWork(() -> {
|
||||
if (ctx.get().getDirection().getReceptionSide() == LogicalSide.SERVER) {
|
||||
//Received serverside
|
||||
|
||||
@@ -96,8 +96,6 @@ public class BlockPlacedMessage {
|
||||
public static void handle(BlockPlacedMessage message, Supplier<NetworkEvent.Context> ctx)
|
||||
{
|
||||
ctx.get().enqueueWork(() -> {
|
||||
EffortlessBuilding.log("BlockPlacedMessage");
|
||||
|
||||
if (ctx.get().getDirection().getReceptionSide() == LogicalSide.CLIENT) {
|
||||
//Received clientside
|
||||
//Nod RenderHandler to do the dissolve shader effect
|
||||
|
||||
@@ -25,8 +25,6 @@ public class CancelModeMessage {
|
||||
public static void handle(CancelModeMessage message, Supplier<NetworkEvent.Context> ctx)
|
||||
{
|
||||
ctx.get().enqueueWork(() -> {
|
||||
EffortlessBuilding.log("CancelModeMessage");
|
||||
|
||||
PlayerEntity player = EffortlessBuilding.proxy.getPlayerEntityFromContext(ctx);
|
||||
|
||||
BuildModes.initializeMode(player);
|
||||
|
||||
@@ -30,8 +30,6 @@ public class ClearUndoMessage {
|
||||
public static void handle(ClearUndoMessage message, Supplier<NetworkEvent.Context> ctx)
|
||||
{
|
||||
ctx.get().enqueueWork(() -> {
|
||||
EffortlessBuilding.log("ClearUndoMessage");
|
||||
|
||||
if (ctx.get().getDirection().getReceptionSide() == LogicalSide.CLIENT) {
|
||||
//Received clientside
|
||||
PlayerEntity player = EffortlessBuilding.proxy.getPlayerEntityFromContext(ctx);
|
||||
|
||||
@@ -36,8 +36,6 @@ public class ModeActionMessage {
|
||||
public static void handle(ModeActionMessage message, Supplier<NetworkEvent.Context> ctx)
|
||||
{
|
||||
ctx.get().enqueueWork(() -> {
|
||||
EffortlessBuilding.log("ModeActionMessage");
|
||||
|
||||
PlayerEntity player = EffortlessBuilding.proxy.getPlayerEntityFromContext(ctx);
|
||||
|
||||
ModeOptions.performAction(player, message.action);
|
||||
|
||||
@@ -39,8 +39,6 @@ public class ModeSettingsMessage {
|
||||
public static void handle(ModeSettingsMessage message, Supplier<NetworkEvent.Context> ctx)
|
||||
{
|
||||
ctx.get().enqueueWork(() -> {
|
||||
EffortlessBuilding.log("ModeSettingsMessage");
|
||||
|
||||
PlayerEntity player = EffortlessBuilding.proxy.getPlayerEntityFromContext(ctx);
|
||||
|
||||
// Sanitize
|
||||
|
||||
@@ -129,8 +129,6 @@ public class ModifierSettingsMessage {
|
||||
public static void handle(ModifierSettingsMessage message, Supplier<NetworkEvent.Context> ctx)
|
||||
{
|
||||
ctx.get().enqueueWork(() -> {
|
||||
EffortlessBuilding.log("ModifierSettingsMessage");
|
||||
|
||||
PlayerEntity player = EffortlessBuilding.proxy.getPlayerEntityFromContext(ctx);
|
||||
|
||||
// Sanitize
|
||||
|
||||
@@ -42,8 +42,6 @@ public class RequestLookAtMessage {
|
||||
public static void handle(RequestLookAtMessage message, Supplier<NetworkEvent.Context> ctx)
|
||||
{
|
||||
ctx.get().enqueueWork(() -> {
|
||||
EffortlessBuilding.log("RequestLookAtMessage");
|
||||
|
||||
if (ctx.get().getDirection().getReceptionSide() == LogicalSide.CLIENT) {
|
||||
//Received clientside
|
||||
//Send back your info
|
||||
|
||||
Reference in New Issue
Block a user