Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
ReignOfFROZE committed Jun 7, 2024
1 parent 2a28758 commit 95ee00b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/main/scala/net/bdew/ae2stuff/items/AdvWirelessKit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ object AdvWirelessKit
import net.bdew.lib.helpers.ChatHelper._
if (!world.isRemote && player.isSneaking) {
toggleMode(stack)
if(getMode(stack) == 0) {
if (getMode(stack) == 0) {
player.addChatMessage(
L("ae2stuff.wireless.advtool.queueing.activated").setColor(Color.GREEN)
L("ae2stuff.wireless.advtool.queueing.activated").setColor(
Color.GREEN
)
)
} else {
player.addChatMessage(
Expand Down Expand Up @@ -82,13 +84,17 @@ object AdvWirelessKit
if (!world.isRemote) {
if (player.isSneaking) {
toggleMode(stack)
if(getMode(stack) == 0) {
if (getMode(stack) == 0) {
player.addChatMessage(
L("ae2stuff.wireless.advtool.queueing.activated").setColor(Color.GREEN)
L("ae2stuff.wireless.advtool.queueing.activated").setColor(
Color.GREEN
)
)
} else {
player.addChatMessage(
L("ae2stuff.wireless.advtool.binding.activated").setColor(Color.GREEN)
L("ae2stuff.wireless.advtool.binding.activated").setColor(
Color.GREEN
)
)
}
return true;
Expand Down

0 comments on commit 95ee00b

Please sign in to comment.