Nova-Committee / Re-Avaritia

MIT License
17 stars 14 forks source link

[Bug/漏洞] #64

Closed Shahubk closed 3 months ago

Shahubk commented 5 months ago

Checks / 检查

Java Version / Java版本

JDK 19

Minecraft Version / Minecraft版本

1.20.1

Avaritia-Reforge Version / Avaritia-Reforge版本

1.3.6.0

Description / 描述

The Infinity Sword right-click kills neutral monsters, even if the config option to enable that is changed from the default "True" to "False."

To Reproduce / 重现

Turn the config setting of ""Is Sword Damage" = false" to false. Then open a new world, spawn in a pig, then right click the sword.

Log / 日志

N/A

Config / 配置

Avaritia Base Config

[general]

Does the super mode of endless tools retain stone and soil

"Is Stone" = false
#Whether to merge matter cluster
"Is Merge Matter Cluster" = false
#Range damage value of the right key of Infinity sword
#Range: 100 ~ 100000
"Sword Range Damage" = 10000
#Infinity sword right click attack range
#Range: 8 ~ 64
"Sword Attack Range" = 32
#Does the right key range attack of endless sword attack neutral creatures
"Is Sword Damage" = false
#Infinity bow scattering light arrow damage
#Range: 100 ~ 100000
"Sub Arrow Damage" = 10000
#Chain number of endless axe cutting trees
#Range: 16 ~ 128
"Axe Chain Count" = 64
#Food effect time scaling factor
#Range: 0.1 ~ 5.0
"Food Time" = 1.0
#The range of Infinity PickAxe can break
#Range: 2 ~ 32
"PickAxe Break Range" = 8
#The range of Infinity Shovel can break
#Range: 2 ~ 32
"Shovel Break Range" = 8
#The product tick of NeutronCollector
#Range: > 1200
"Neutron Collector Product Tick" = 3600
#Singularity default time required
#Range: > 0
"Singularity Time Required" = 240
cnlimiter commented 3 months ago

fix at 1.3.7.2