Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFix item durability. #1236
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
madmaxoft
Jul 23, 2014
Member
Somewhat unfortunate naming. How about eDurabilityLostAction and GetDurabilityLossByAction()?
Also, rebase your branch onto current master.
|
Somewhat unfortunate naming. How about |
Howaner
added some commits
Jul 26, 2014
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
done. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Build failed? I hate AppVeyor ... |
tigerw
reviewed
Jul 26, 2014
| @@ -61,22 +61,6 @@ class cBlockLeavesHandler : | ||
| } | ||
| } | ||
| } | ||
| void OnDestroyed(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ) override |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
madmaxoft
Jul 26, 2014
Member
I'm not sure, this function may be needed for the apple drops when the leaves decay on their own, not being destroyed by player. Can you test that?
madmaxoft
Jul 26, 2014
Member
I'm not sure, this function may be needed for the apple drops when the leaves decay on their own, not being destroyed by player. Can you test that?
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tigerw
Jul 26, 2014
Member
I think it gave an error, see: https://ci.appveyor.com/project/madmaxoft/mcserver/build/1.0.465/messages
|
I think it gave an error, see: https://ci.appveyor.com/project/madmaxoft/mcserver/build/1.0.465/messages |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
madmaxoft
Jul 26, 2014
Member
Of course it gave an error, you need to rename all instances of the function.
|
Of course it gave an error, you need to rename all instances of the function. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Oh, i forgot to rename the override in ItemHoe.h |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
So did you even compile after the changes? And how about testing? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Howaner
Jul 26, 2014
Contributor
Yes. I tested and compiled it, but g++ didn't give me a error in ItemHoe.h.
|
Yes. I tested and compiled it, but g++ didn't give me a error in ItemHoe.h. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Merge? |
Howaner commentedJul 23, 2014
Fixes #1181