我在自己的伺服器為了想提高藍寶石和黃金的價值
因此想開放製作經驗瓶給玩家
不過這次我第一次使用有damage value的道具加入材料中, 我這樣弄
ExpDrink:
Shape:
- [0/0, 351/4, 0/0]
- [0/0, 371/0, 0/0]
- [0/0, 373/16, 0/0]
Result: 384
Quantity: 1
其中
351/4是藍寶石 (4是damage value)
373/16是加了地獄疙瘩的藥水
但是我實際讓伺服器載入時
卻出現格式錯誤的訊息, 說我打的東西可能不是數字
[INFO] There is a problem in a recipe called ExpDrink.
Please check that recipe for errors. Further details will help you understand
what kind of a problem to search for.
[INFO] Looks like you used a string instead of an integer somewhere,
or the other way round.
java.lang.String cannot be cast to java.lang.Integer! Make sure that you have
a DataValues node (the value is ignored) if you use data values in the
ingredients. Also make sure that all ingredients are of format "id/datavalue"
if you use data values in the ingredients.
想請教版上有使用過這個插件的人
我的打法有什麼問題嗎 @@?
還是這是bug?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.177.98