Skip to content

Commit

Permalink
Fixed SignCopier event builder not including required args for latest…
Browse files Browse the repository at this point in the history
… API.
  • Loading branch information
me4502 committed Feb 11, 2018
1 parent 512728a commit ff9cbe6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff9cbe6

Please sign in to comment.