Skip to content

Commit

Permalink
fix compile for versions below 1.2.3.380
Browse files Browse the repository at this point in the history
  • Loading branch information
HarpyWar committed Apr 9, 2018
1 parent 810440e commit b829dd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Murmur/VirtualServerCallbackWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,13 @@ public override void userStateChanged(User state, Current current__)
callbackHandler.UserStateChanged(VirtualServer.getOnlineUser(state), server);
}

#if MURMUR_123380
public override void userTextMessage(User state, TextMessage message, Current current__)
{
// UNDONE: create wrapper for TextMessage, it has more context than just a message text
callbackHandler.UserTextMessage(VirtualServer.getOnlineUser(state), message.text, server);
}
#endif

}
}

0 comments on commit b829dd2

Please sign in to comment.