Skip to content

Commit

Permalink
Datagen & compile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Apr 1, 2024
1 parent da6e0a3 commit 09f3e49
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"category": "misc",
"ingredients": [
{
"item": "ae2:cell_component_16k"
"item": "ae2:crafting_unit"
},
{
"item": "ae2:crafting_unit"
"item": "ae2:cell_component_16k"
}
],
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"category": "misc",
"ingredients": [
{
"item": "ae2:cell_component_256k"
"item": "ae2:crafting_unit"
},
{
"item": "ae2:crafting_unit"
"item": "ae2:cell_component_256k"
}
],
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"category": "misc",
"ingredients": [
{
"item": "ae2:cell_component_4k"
"item": "ae2:crafting_unit"
},
{
"item": "ae2:crafting_unit"
"item": "ae2:cell_component_4k"
}
],
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"category": "misc",
"ingredients": [
{
"item": "ae2:engineering_processor"
"item": "ae2:crafting_unit"
},
{
"item": "ae2:crafting_unit"
"item": "ae2:engineering_processor"
}
],
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"category": "misc",
"ingredients": [
{
"item": "ae2:storage_monitor"
"item": "ae2:crafting_unit"
},
{
"item": "ae2:crafting_unit"
"item": "ae2:storage_monitor"
}
],
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,24 @@

package appeng.core.sync.network;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import net.minecraft.client.Minecraft;

import appeng.core.AELog;
import appeng.core.sync.BasePacket;

public class ClientPacketHandler {
private static final Logger LOG = LoggerFactory.getLogger(ClientPacketHandler.class);

private ClientPacketHandler() {
}

public static void onPacketData(BasePacket packet) {
try {
packet.clientPacketData(Minecraft.getInstance().player);
} catch (final IllegalArgumentException e) {
AELog.debug(e);
LOG.error("Failed handling packet", e);
}
}
}

0 comments on commit 09f3e49

Please sign in to comment.