Pawcio6
Member
- Joined
- Sep 26, 2009
- Messages
- 143
- Solutions
- 4
- Reaction score
- 15
Hi
I wanna to make containers swap like normal items when they have special attribute(that part is done) but i dont know where add swap checking thing. Can someone say where should i look for it? I mean when now is like this :
if !isContainer
doswapitems
then add to it
if !isContainer || isSwap(firstitem) && isSwap(seconditem)
doswapitems
My source 0.3.6
I wanna to make containers swap like normal items when they have special attribute(that part is done) but i dont know where add swap checking thing. Can someone say where should i look for it? I mean when now is like this :
if !isContainer
doswapitems
then add to it
if !isContainer || isSwap(firstitem) && isSwap(seconditem)
doswapitems
My source 0.3.6