Permalink
Browse files

Fixed SignCopier event builder not including required args for latest…

… API.
  • Loading branch information...
me4502 committed Feb 11, 2018
1 parent 512728a commit ff9cbe611fa7829ae765a5872e670792dbc27b4f
@@ -133,7 +133,7 @@ public void onPlayerInteract(InteractBlockEvent event, @First Player player) {
signData = signData.set(Keys.SIGN_LINES, lines);
ChangeSignEvent changeSignEvent = SpongeEventFactory.createChangeSignEvent(
Cause.builder().build(EventContext.builder().add(EventContextKeys.PLAYER, player).build()),
Cause.builder().append(player).build(EventContext.builder().add(EventContextKeys.PLAYER, player).build()),
sign.getSignData().asImmutable(),
signData,
sign

0 comments on commit ff9cbe6

Please sign in to comment.