From 2833d1fdb9b1d727aff813d38e2ce93ce10a0cea Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Mon, 26 Sep 2022 11:34:22 +0700 Subject: [PATCH] Update powered sword, make it sweep attack #54 --- .../mc/otm/capability/EnergyStorageImpl.kt | 12 ++--- .../mc/otm/item/EnergySwordItem.kt | 45 +++++++++++++------ 2 files changed, 37 insertions(+), 20 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/EnergyStorageImpl.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/EnergyStorageImpl.kt index 32971fbe6..953ebb4ba 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/capability/EnergyStorageImpl.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/capability/EnergyStorageImpl.kt @@ -60,7 +60,7 @@ private fun batteryLevel(it: IMatteryEnergyStorage, tooltips: MutableList