Commit 64a0786e authored by Atsukio's avatar Atsukio 🐬

Set claim limit to town max limit

parent 8183a2b9
......@@ -751,11 +751,7 @@ command /potatotown <text="help"> [<text>]:
message "[&6PTown&f] Land must be connected"
stop
set {_town} to "%{ptown.%player%}%"
if {ptown.%{_town}%.maxsize} is more than or equal to {@MaxChunksPerTown}:
set {_max_size} to {@MaxChunksPerTown}
else:
set {_max_size} to {ptown.%{_town}%.maxsize}
if {ptown.%{_town}%.size} is more than or equal to {_max_size}:
if {ptown.%{_town}%.size} is more than or equal to {ptown.%{_town}%.maxsize}:
if {language.%player%} is "chinese":
message "[&6PTown&f] 超过最大容量"
if {language.%player%} is "english":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment