Skip to content

Commit

Permalink
fix terminals
Browse files Browse the repository at this point in the history
  • Loading branch information
soshimee committed Oct 26, 2024
1 parent 8047a87 commit ba0f020
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion features/terminals/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function closeWindowListener() {
function setSlotListener(itemStack, slot) {
if (slot < 0) return;
if (slot >= windowSize) return;
if (itemStack !== null) {
if (itemStack?.func_77973_b()) {
const item = new Item(itemStack);
slots[slot] = {
slot,
Expand Down
2 changes: 1 addition & 1 deletion features/terminals/melody.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function closeWindowListener() {
function setSlotListener(itemStack, slot) {
if (slot < 0) return;
if (slot >= windowSize) return;
if (itemStack !== null) {
if (itemStack?.func_77973_b()) {
const item = new Item(itemStack);
slots[slot] = {
slot,
Expand Down
2 changes: 1 addition & 1 deletion features/terminals/numbers.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function closeWindowListener() {
function setSlotListener(itemStack, slot) {
if (slot < 0) return;
if (slot >= windowSize) return;
if (itemStack !== null) {
if (itemStack?.func_77973_b()) {
const item = new Item(itemStack);
slots[slot] = {
slot,
Expand Down
2 changes: 1 addition & 1 deletion features/terminals/redgreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function closeWindowListener() {
function setSlotListener(itemStack, slot) {
if (slot < 0) return;
if (slot >= windowSize) return;
if (itemStack !== null) {
if (itemStack?.func_77973_b()) {
const item = new Item(itemStack);
slots[slot] = {
slot,
Expand Down
2 changes: 1 addition & 1 deletion features/terminals/rubix.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function closeWindowListener() {
function setSlotListener(itemStack, slot) {
if (slot < 0) return;
if (slot >= windowSize) return;
if (itemStack !== null) {
if (itemStack?.func_77973_b()) {
const item = new Item(itemStack);
slots[slot] = {
slot,
Expand Down
2 changes: 1 addition & 1 deletion features/terminals/startswith.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function closeWindowListener() {
function setSlotListener(itemStack, slot) {
if (slot < 0) return;
if (slot >= windowSize) return;
if (itemStack !== null) {
if (itemStack?.func_77973_b()) {
const item = new Item(itemStack);
slots[slot] = {
slot,
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "soshimeeaddons",
"description": "F7 on top",
"creator": "soshimee",
"version": "2.8.2",
"version": "2.8.3",
"entry": "index.js",
"requires": ["PromiseV2", "BloomCore", "fparser", "requestV2", "Vigilance", "PogData", "RenderLib", "WebSocket", "Async"]
}

0 comments on commit ba0f020

Please sign in to comment.