Skip to content

Commit ba0f020

Browse files
committed
fix terminals
1 parent 8047a87 commit ba0f020

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

features/terminals/colors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function closeWindowListener() {
116116
function setSlotListener(itemStack, slot) {
117117
if (slot < 0) return;
118118
if (slot >= windowSize) return;
119-
if (itemStack !== null) {
119+
if (itemStack?.func_77973_b()) {
120120
const item = new Item(itemStack);
121121
slots[slot] = {
122122
slot,

features/terminals/melody.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function closeWindowListener() {
108108
function setSlotListener(itemStack, slot) {
109109
if (slot < 0) return;
110110
if (slot >= windowSize) return;
111-
if (itemStack !== null) {
111+
if (itemStack?.func_77973_b()) {
112112
const item = new Item(itemStack);
113113
slots[slot] = {
114114
slot,

features/terminals/numbers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function closeWindowListener() {
129129
function setSlotListener(itemStack, slot) {
130130
if (slot < 0) return;
131131
if (slot >= windowSize) return;
132-
if (itemStack !== null) {
132+
if (itemStack?.func_77973_b()) {
133133
const item = new Item(itemStack);
134134
slots[slot] = {
135135
slot,

features/terminals/redgreen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function closeWindowListener() {
114114
function setSlotListener(itemStack, slot) {
115115
if (slot < 0) return;
116116
if (slot >= windowSize) return;
117-
if (itemStack !== null) {
117+
if (itemStack?.func_77973_b()) {
118118
const item = new Item(itemStack);
119119
slots[slot] = {
120120
slot,

features/terminals/rubix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function closeWindowListener() {
120120
function setSlotListener(itemStack, slot) {
121121
if (slot < 0) return;
122122
if (slot >= windowSize) return;
123-
if (itemStack !== null) {
123+
if (itemStack?.func_77973_b()) {
124124
const item = new Item(itemStack);
125125
slots[slot] = {
126126
slot,

features/terminals/startswith.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function closeWindowListener() {
116116
function setSlotListener(itemStack, slot) {
117117
if (slot < 0) return;
118118
if (slot >= windowSize) return;
119-
if (itemStack !== null) {
119+
if (itemStack?.func_77973_b()) {
120120
const item = new Item(itemStack);
121121
slots[slot] = {
122122
slot,

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "soshimeeaddons",
33
"description": "F7 on top",
44
"creator": "soshimee",
5-
"version": "2.8.2",
5+
"version": "2.8.3",
66
"entry": "index.js",
77
"requires": ["PromiseV2", "BloomCore", "fparser", "requestV2", "Vigilance", "PogData", "RenderLib", "WebSocket", "Async"]
88
}

0 commit comments

Comments
 (0)